mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-10 04:29:30 +08:00
New test case.
From-SVN: r25423
This commit is contained in:
parent
5e8ad514bc
commit
54bb5ba3d6
11
gcc/testsuite/g++.old-deja/g++.ns/friend2.C
Normal file
11
gcc/testsuite/g++.old-deja/g++.ns/friend2.C
Normal file
@ -0,0 +1,11 @@
|
||||
//Build don't link:
|
||||
namespace A{
|
||||
void foo();
|
||||
}
|
||||
|
||||
|
||||
namespace B{
|
||||
class B{
|
||||
friend void A::foo();
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user