aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/debug8.C
blob: 2b78be2911fa9b3c12e6a8d1291c6a87072310f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Build don't link:
// Special g++ Options: -g

struct X {
  const int x[4];
};

struct A {
  A();
  A(const A&);
};

struct B {
  A a;
  int b[4];
};

struct C {
  A a;
  C() { B b=B(); };
};