1 // PR c++/19667 2 3 struct integral_constant { }; 4 5 template<typename _Tp> 6 struct is_function : public integral_constant { }; 7 8 template<> 9 struct is_function : public integral_constant { }; // { dg-error "" } 10
1 // PR c++/19667 2 3 struct integral_constant { }; 4 5 template<typename _Tp> 6 struct is_function : public integral_constant { }; 7 8 template<> 9 struct is_function : public integral_constant { }; // { dg-error "" } 10