From-SVN: r29758
This commit is contained in:
Jason Merrill 1999-10-01 18:44:51 -04:00
parent b3da7bb1cf
commit 95f1a0447f
1 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ public:
anotherT t; // ERROR - undefined type
A() { }
A(anotherT _t) { // ERROR - undefined type
t=_t;
}
@ -20,8 +21,8 @@ class B : public A< B > // ERROR - forward declaration
{
public:
typedef int myT;
}; // ERROR - base with non-default constructor
};
int main() {
B b; // ERROR - no constructor
B b;
}