projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3da7bb
)
update
author
Jason Merrill
<jason@gcc.gnu.org>
Fri, 1 Oct 1999 22:44:51 +0000
(18:44 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Fri, 1 Oct 1999 22:44:51 +0000
(18:44 -0400)
From-SVN: r29758
gcc/testsuite/g++.old-deja/g++.pt/typename8.C
patch
|
blob
|
history
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
(file)
--- 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;
}