blob: d74a66aa224797772855deb3be2184ad8bfa8eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PR c++/32121
// { dg-do compile }
void f (void)
{
a:;
__label__ a; // { dg-error "not at the beginning" }
int b;
__label__ c; // { dg-error "not at the beginning" }
a:; // { dg-error "duplicate label" }
c:;
}
|