* ns1.C: New test.
authorAlexandre Oliva <oliva@gcc.gnu.org>
Thu, 1 Jul 1999 23:09:12 +0000 (23:09 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Thu, 1 Jul 1999 23:09:12 +0000 (23:09 +0000)
From-SVN: r27902

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

diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C b/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C
new file mode 100644 (file)
index 0000000..3ea6b87
--- /dev/null
@@ -0,0 +1,14 @@
+// Build don't link:
+
+// Copyright (C) 1999 Free Software Foundation
+
+// by Alexandre Oliva <oliva@dcc.unicamp.br>
+
+// based on bug report by Dima Volodin <dvv@dvv.ru>
+
+void foo();
+namespace bar {
+  class baz {
+    friend void ::f(); // gets bogus error - parse error - XFAIL *-*-*
+  };
+}