summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/sfinae25.C
blob: e9ee83e1200048c6ab2c51310d989139002c654c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
template <int I>
struct A { };

template <int J>
void f(A<1/J>);

template <int J>
void f(...) { }

int main()
{
  f<0>();
}