repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
strong-using-2.C
blob
5c4b425fa8a8a3da3e693bf07ad7fa9500f3018a
1
// PR c++/13594
2
3
// { dg-do compile }
4
5
namespace foo {
6
inline namespace foo_impl {
7
class T; // { dg-error "T" "" }
8
}
9
}
10
namespace bar {
11
inline namespace bar_impl {
12
class T; // { dg-error "T" "" }
13
}
14
using namespace foo;
15
}
16
namespace baz {
17
using namespace foo;
18
using namespace bar;
19
}
20
21
foo::T *t1;
22
bar::T *t2;
23
baz::T *t3; // { dg-error "(ambiguous|expected|extra)" "" }