blob: 80f7d456d0a9dfdd3471d4507a48c98f69480106 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Wimplicit-fallthrough=3" } */
#define FOO \
int \
foo (int a) \
{ \
switch (a) \
{ \
case 1: \
++a; \
/* FALLTHRU */ \
case 2: \
++a; \
/* FALLTHRU */ \
ca##se 3: \
++a; \
default: \
break; \
} \
return a; \
}
FOO