OSDN Git Service

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