PR c++/67273
[official-gcc.git] / gcc / testsuite / c-c++-common / Wimplicit-fallthrough-34.c
blob9168c5225f04dd5aa211c120426fc36d5c743412
1 /* PR c/77946 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wimplicit-fallthrough" } */
5 void
6 foo (void)
8 static void *p = &&lab;
9 goto *p;
10 /*FALLTHRU*/
11 lab:;