From: Jason Merrill Date: Fri, 1 Oct 1999 22:44:51 +0000 (-0400) Subject: update X-Git-Tag: prereleases/libstdc++-2.92~10268 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95f1a0447f9be57101aa02ac8182a275c3ecb60c;p=thirdparty%2Fgcc.git update From-SVN: r29758 --- diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename8.C b/gcc/testsuite/g++.old-deja/g++.pt/typename8.C index 5e5f2f07505b..e95a0a17bfe4 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/typename8.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/typename8.C @@ -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; }