aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1999-10-01 18:44:51 -0400
committerJason Merrill <jason@gcc.gnu.org>1999-10-01 18:44:51 -0400
commit95f1a0447f9be57101aa02ac8182a275c3ecb60c (patch)
treec309eed83f84422e770869d76f960b39d63eabc3
parentb3da7bb1cfd62e0ad61e661e428f0af2124ee5e1 (diff)
downloadgcc-95f1a0447f9be57101aa02ac8182a275c3ecb60c.zip
gcc-95f1a0447f9be57101aa02ac8182a275c3ecb60c.tar.gz
gcc-95f1a0447f9be57101aa02ac8182a275c3ecb60c.tar.bz2
update
From-SVN: r29758
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/typename8.C5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename8.C b/gcc/testsuite/g++.old-deja/g++.pt/typename8.C
index 5e5f2f0..e95a0a1 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;
}