blob: f18d0563f9f48e04e623e0404670f5b3664c688f (
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
int main() {
Child c( "String initializer" ); // ERROR - bad
return 0;
}
|