New test case.
From-SVN: r21180
This commit is contained in:
parent
2cc6777c6b
commit
421ec9a741
1 changed files with 20 additions and 0 deletions
20
gcc/testsuite/g++.old-deja/g++.ns/using8.C
Normal file
20
gcc/testsuite/g++.old-deja/g++.ns/using8.C
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Build don't link:
|
||||
namespace M {
|
||||
int i;
|
||||
}
|
||||
namespace N {
|
||||
using namespace M;
|
||||
}
|
||||
|
||||
using namespace N;
|
||||
int j = i;
|
||||
|
||||
namespace O{
|
||||
int k;
|
||||
}
|
||||
|
||||
namespace N {
|
||||
using namespace O;
|
||||
}
|
||||
|
||||
int l = k;
|
Loading…
Add table
Reference in a new issue