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

class A {
public:
  int i;
};

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

B::B() : i (-1) {}		// { dg-error "" }