aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash3.C
blob: 01148434535fb1e0abd83a1b5ab349616b85a12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link:
// Special g++ Options: -g -O2

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

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