summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/label2.C
blob: 6d2af326282daf9f85d2817bba3554395994c7af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed labels

extern "C" void abort();

class X {
public:
    X();
};
void foo ()
{
X:  ::abort();
    goto X;
}