aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1999-05-30 21:55:38 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-05-30 21:55:38 +0000
commit6f0ef2f4dbf524ab08c5aaca551bb67c2d53adcd (patch)
tree08d27ec84218ae8db44b6312a595c23a3460abf4 /gcc
parentf6a7cfd28d7b04e17f42d20bd420031838b53a7a (diff)
downloadgcc-6f0ef2f4dbf524ab08c5aaca551bb67c2d53adcd.zip
gcc-6f0ef2f4dbf524ab08c5aaca551bb67c2d53adcd.tar.gz
gcc-6f0ef2f4dbf524ab08c5aaca551bb67c2d53adcd.tar.bz2
Fix test; original version was not the intended one.
From-SVN: r27260
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/virtual3.C5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/virtual3.C b/gcc/testsuite/g++.old-deja/g++.pt/virtual3.C
index 8fe367a..6088082 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/virtual3.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/virtual3.C
@@ -1,14 +1,13 @@
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
-template <typename X>
-struct S : virtual public X
+struct S
{
int i;
};
template <typename T>
-struct X : virtual public T, virtual public S<T>
+struct X : virtual public T, virtual public S
{
int i;