update
From-SVN: r29758
This commit is contained in:
parent
b3da7bb1cf
commit
95f1a0447f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user