From 922c7c56f1fe14e25b3809eaa22811c825dd7fff Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 1 Jul 1999 23:09:12 +0000 Subject: [PATCH] * ns1.C: New test. From-SVN: r27902 --- gcc/testsuite/g++.old-deja/g++.oliva/ns1.C | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.oliva/ns1.C 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 00000000000..3ea6b871693 --- /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 + +// based on bug report by Dima Volodin + +void foo(); +namespace bar { + class baz { + friend void ::f(); // gets bogus error - parse error - XFAIL *-*-* + }; +} -- 2.30.2