New test
authorMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 11 May 1998 10:59:39 +0000 (10:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 11 May 1998 10:59:39 +0000 (10:59 +0000)
From-SVN: r19668

gcc/testsuite/g++.old-deja/g++.other/local1.C [new file with mode: 0644]

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 (file)
index 0000000..e347def
--- /dev/null
@@ -0,0 +1,11 @@
+// Build don't run:
+
+struct Outer {};
+
+int
+main()
+{
+  { struct Inner : virtual public Outer {} inner; }
+  { struct Inner : virtual public Outer {} inner; }
+}
+