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