summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-01 22:44:51 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-01 22:44:51 +0000
commit4ca3e02fed32ab70cb538fd570e607dd19b9f84d (patch)
treec309eed83f84422e770869d76f960b39d63eabc3
parent0401d3842471d3f5c8f1613e8d8b4f8a2fbed4d7 (diff)
downloadppe42-gcc-4ca3e02fed32ab70cb538fd570e607dd19b9f84d.tar.gz
ppe42-gcc-4ca3e02fed32ab70cb538fd570e607dd19b9f84d.zip
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29758 138bc75d-0d04-0410-961f-82ee72b054a4
-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 5e5f2f07505..e95a0a17bfe 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;
}
OpenPOWER on IntegriCloud