Commit 95f1a044 by Jason Merrill

update

From-SVN: r29758
parent b3da7bb1
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment