* ns1.C: New test.
From-SVN: r27902
This commit is contained in:
parent
7a3f50eda1
commit
922c7c56f1
14
gcc/testsuite/g++.old-deja/g++.oliva/ns1.C
Normal file
14
gcc/testsuite/g++.old-deja/g++.oliva/ns1.C
Normal file
@ -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 *-*-*
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user