summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash3.C
blob: 5a218271625c1afc7e1fc1d8537caee07ecd2a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// { dg-options "-g -O2" }

inline void f() {
  struct S {};
  S s;
}

void g()
{
  for (int i = 0; i < 2; ++i)
    f();
}