PR rtl-optimization/88018
[official-gcc.git] / gcc / testsuite / c-c++-common / Wimplicit-fallthrough-34.c
blobe0b5350f2e64da6c77549b8733270b161f6d0bdd
1 /* PR c/77946 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target indirect_jumps } */
4 /* { dg-options "-Wimplicit-fallthrough" } */
6 void
7 foo (void)
9 static void *p = &&lab;
10 goto *p;
11 /*FALLTHRU*/
12 lab:;