summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/strong-using-5.C
blob: 555adb0c9b1c5d9eaf994909a19d100c550a237b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// PR c++/33486

// { dg-options "" }

namespace A
{
  inline namespace B
  {
    struct T
    {
      struct U { };
      U f();
    };
  }

  inline namespace C
  {
    void g (T::U);
  }
}

int main()
{
  A::T t;
  g(t.f());
}