2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / net22.C
blobde39a529e1baacbfdbe1972620b60eabb1de2b50
1 // { dg-do assemble  }
2 class Parent {
3 public:
4   Parent() {}
5   Parent( char *s ) {}
6 };
8 class Child : public Parent {           // { dg-error "" } called
9 };
11 int main() {
12   Child c( "String initializer" );      // { dg-error "" } bad
13   return 0;