aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@gcc.gnu.org>1999-07-01 23:09:12 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1999-07-01 23:09:12 +0000
commit922c7c56f1fe14e25b3809eaa22811c825dd7fff (patch)
tree16b48f1e17f4f5e26714617bd19eee5f9b4da438 /gcc
parent7a3f50eda10319a8276906c8387d87ebf5c2e34e (diff)
downloadgcc-922c7c56f1fe14e25b3809eaa22811c825dd7fff.zip
gcc-922c7c56f1fe14e25b3809eaa22811c825dd7fff.tar.gz
gcc-922c7c56f1fe14e25b3809eaa22811c825dd7fff.tar.bz2
* ns1.C: New test.
From-SVN: r27902
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.oliva/ns1.C14
1 files changed, 14 insertions, 0 deletions
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
index 0000000..3ea6b87
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C
@@ -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 *-*-*
+ };
+}