summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/m9.C
blob: 1fd5a3adb4cba9ee45841f4ddff125a01ef18fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }

struct A { A() { a = 1; } int a; };
struct Q {
  struct A { A() { a = 2; } int a; };
  struct R {
     struct A { A() { a = 3; } int a; };
     A aaz;
  };
  R rrr;
  A aay;
}
;

Q qqq;
A aav;