summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/template17.C
blob: ade598d39e1b4cdf535a527f20a7a0ba9335bc99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/23841

template <int I>
struct S
{
  int f(int i = I) { return i; }
};

void
g ()
{
  S<(int)0.> a2;
}