1// PR c++/23841
2
3template <int I>
4struct S
5{
6  int f(int i = I) { return i; }
7};
8
9void
10g ()
11{
12  S<(int)0.> a2;
13}
14