(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
Wimplicit-fallthrough-38.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-Wimplicit-fallthrough=3" } */
       3  
       4  #define FOO \
       5  int				\
       6  foo (int a)			\
       7  {				\
       8    switch (a)			\
       9      {				\
      10      case 1:			\
      11        ++a;			\
      12        /* FALLTHRU */		\
      13      case 2:			\
      14        ++a;			\
      15        /* FALLTHRU */		\
      16      ca##se 3:			\
      17        ++a;			\
      18      default:			\
      19        break;			\
      20      }				\
      21    return a;			\
      22  }
      23  
      24  FOO