OSDN Git Service

Merge in xfails from PR14107.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.mike / net22.C
1 // { dg-do assemble  }
2 class Parent {
3 public:
4   Parent() {}
5   Parent( char *s ) {}
6 };
7
8 class Child : public Parent {           // { dg-error "" } called
9 };
10
11 int main() {
12   Child c( "String initializer" );      // { dg-error "" } bad
13   return 0;
14 }