1 // PR 68724 ICE in unificiation 2 // { dg-do compile { target c++11 } } 3 4 template <typename _Tp, _Tp> 5 struct integral_constant 6 { 7 }; 8 9 integral_constant<bool, true> inst; 10 11 template <typename _Tp> 12 struct integral_constant<bool, __is_enum(_Tp)> // { dg-error "32:template argument" } 13 { 14 }; 15 16