summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/s24939.C
blob: 915cfe224ea23cdbbbbc7dffc1de4983685897a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }

class A;

class B {
public:
  B(); 
private:
  A a;  // { dg-error "" } 
};

class A { };
B::B() { }