Debian Codegraph @

gcc/testsuite/g++.dg/ext/label9.C

raw
1 // PR c++/32121
2 // { dg-do compile }
3
4 int f (void)
5 {
6 while (1)
7 __label__ a; // { dg-error "not at the beginning" }
8 for (;;)
9 __label__ b; // { dg-error "not at the beginning" }
10 }