New test case.
From-SVN: r21194
This commit is contained in:
parent
34d1a71f0c
commit
8d9eb1141f
16
gcc/testsuite/g++.old-deja/g++.ns/alias6.C
Normal file
16
gcc/testsuite/g++.old-deja/g++.ns/alias6.C
Normal file
@ -0,0 +1,16 @@
|
||||
namespace A {
|
||||
int i;
|
||||
void f(){}
|
||||
}
|
||||
|
||||
main ()
|
||||
{
|
||||
namespace B = A;
|
||||
B::i=42;
|
||||
B::f();
|
||||
using namespace B;
|
||||
f();
|
||||
}
|
||||
|
||||
namespace B {}
|
||||
|
Loading…
Reference in New Issue
Block a user