aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1998-05-11 10:59:39 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-05-11 10:59:39 +0000
commitd861dea1921b72b402a863cdabee11a5cd275dc4 (patch)
tree12793822e15c78253096f3ac482fec21f1be4bf2
parent9b2e5e220816e22f80da38e82857fbf2603682c7 (diff)
downloadgcc-d861dea1921b72b402a863cdabee11a5cd275dc4.zip
gcc-d861dea1921b72b402a863cdabee11a5cd275dc4.tar.gz
gcc-d861dea1921b72b402a863cdabee11a5cd275dc4.tar.bz2
New test
From-SVN: r19668
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/local1.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/local1.C b/gcc/testsuite/g++.old-deja/g++.other/local1.C
new file mode 100644
index 0000000..e347def
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/local1.C
@@ -0,0 +1,11 @@
+// Build don't run:
+
+struct Outer {};
+
+int
+main()
+{
+ { struct Inner : virtual public Outer {} inner; }
+ { struct Inner : virtual public Outer {} inner; }
+}
+