]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Check in test for previous changes
authorMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 22 Apr 1999 00:34:21 +0000 (00:34 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 22 Apr 1999 00:34:21 +0000 (00:34 +0000)
From-SVN: r26580

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

diff --git a/gcc/testsuite/g++.old-deja/g++.other/nested3.C b/gcc/testsuite/g++.old-deja/g++.other/nested3.C
new file mode 100644 (file)
index 0000000..783caad
--- /dev/null
@@ -0,0 +1,12 @@
+// Build don't link:
+// Origin: Chip Salzenberg <chip@perlsupport.com>
+
+class Foo {
+  public:
+    class Bar;
+};
+
+class Foo::Bar {
+  public:
+    Bar() {}
+};