New
authorMartin v. Löwis <loewis@gcc.gnu.org>
Sun, 8 Nov 1998 03:17:27 +0000 (03:17 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Sun, 8 Nov 1998 03:17:27 +0000 (03:17 +0000)
From-SVN: r23566

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

diff --git a/gcc/testsuite/g++.old-deja/g++.ns/friend1.C b/gcc/testsuite/g++.old-deja/g++.ns/friend1.C
new file mode 100644 (file)
index 0000000..859a84e
--- /dev/null
@@ -0,0 +1,8 @@
+// Build don't link:
+namespace A{
+  void f(int);
+}
+
+class X{
+  friend void A::f(int);
+};