1 // PR c++/57891 2 // { dg-do compile { target c++11 } } 3 4 struct X { constexpr operator int () { return 1000; } }; 5 template<signed char> struct C {}; 6 C<X{}> c; // { dg-error "narrowing conversion" } 7