1 // PR c++/58707
2 // { dg-do compile { target c++11 } }
3 
4 // ICE during deduction of default parms
5 
6 template <class T, T N = T(), bool B = N>
f(T x)7   void f(T x) {}
8 
9 template void f<int> (int);
10