New test case.
authorMartin v. Löwis <loewis@gcc.gnu.org>
Thu, 25 Feb 1999 00:40:27 +0000 (00:40 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Thu, 25 Feb 1999 00:40:27 +0000 (00:40 +0000)
From-SVN: r25423

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

diff --git a/gcc/testsuite/g++.old-deja/g++.ns/friend2.C b/gcc/testsuite/g++.old-deja/g++.ns/friend2.C
new file mode 100644 (file)
index 0000000..7d4a6c8
--- /dev/null
@@ -0,0 +1,11 @@
+//Build don't link:
+namespace A{
+  void foo();
+}
+
+
+namespace B{
+class B{
+  friend void A::foo();
+};
+}