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

class A {
  int a;
 public:
  A (int aa = 3);
};

class B {
  class A {
  public:
    A (int, int);
  };
  A aa;
 public:
  B (int);
};

extern void foo();
B::B (int z) : aa (1, z) {
  foo ();
}