blob: d74a66aa224797772855deb3be2184ad8bfa8eff [file] [log] [blame]
// 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:;
}