OSDN Git Service

add c++/43145 tag to changelog and testcase
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lookup / strong-using-5.C
1 // PR c++/33486
2
3 namespace A
4 {
5   inline namespace B
6   {
7     struct T
8     {
9       struct U { };
10       U f();
11     };
12   }
13
14   inline namespace C
15   {
16     void g (T::U);
17   }
18 }
19
20 int main()
21 {
22   A::T t;
23   g(t.f());
24 }