blob: 088a0fea4d8f617b8146416126d15ff671f0952b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class Parent {
public:
Parent() {}
Parent( char *s ) {}
};
class Child : public Parent {
}; // ERROR - called
main() {
Child c( "String initializer" ); // ERROR - bad
return 0;
}
|