aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ctor12.C
blob: 7c1aab7255cbb4cc967285ffb36d60fc3279911e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/78689 - ICE on constructor with label

struct e {
  e() {
    goto aj;
    if (0)
    aj:;
  }
};

void f()
{
  struct e x;
}