summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/koenig2.C
blob: 04f95258999c12ee71c9ab8c6f65ad133933e6bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct S
{
  template <typename T> void operator() (T) {}
};

namespace N
{
  S s;
  struct A {} a;
}

using N::s;

void f () { s(N::a); }