summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/ctors3.C
blob: cbfe9d6991dcd4f9d6c2d46b73bc0ba90735547a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// GROUPS passed constructors
class A;

class B {
public:
    B();
static A sa;
};

class A {
public:
    A(int i);
};

A B::sa(1);