New test case.
From-SVN: r21194
This commit is contained in:
parent
34d1a71f0c
commit
8d9eb1141f
1 changed files with 16 additions and 0 deletions
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…
Add table
Reference in a new issue