From: Alexandre Oliva Date: Thu, 1 Jul 1999 23:09:12 +0000 (+0000) Subject: * ns1.C: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=922c7c56f1fe14e25b3809eaa22811c825dd7fff;p=gcc.git * ns1.C: New test. From-SVN: r27902 --- 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 *-*-* + }; +}