summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/operator4.C
blob: 972d52fc184e6df5da31ac62a85d1abadc0dd41b (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/17068

struct A
{
  template<int> void operator()() {}
};

template<typename> void foo()
{
  A().template operator()<0>();
}