2013-04-30 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / strong-using-2.C
blobd9f99a8d1288caefa0cae0d0db17c441deb57994
1 // PR c++/13594
3 // { dg-options "" }
4 // { dg-do compile }
6 namespace foo {
7   inline namespace foo_impl {
8     class T; // { dg-message "T" "" }
9   }
11 namespace bar {
12   inline namespace bar_impl {
13     class T; // { dg-message "T" "" }
14   }
15   using namespace foo;
17 namespace baz {
18   using namespace foo;
19   using namespace bar;
22 foo::T *t1;
23 bar::T *t2;
24 baz::T *t3; // { dg-error "(ambiguous|does not name a type)" "" }