summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/lookup6.C
blob: 2ca6dcc7547d428bb0d0c5406a8b71ecab8afdb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
struct S
{
  template<typename T> static void g();
};

template<typename T>
void f() { return S::template g<T>(); }

void g() {
  f<int>();
}