1 // PR c++/57891 2 // { dg-do compile { target c++11 } } 3 4 template<int N, unsigned char M = N> struct S { char a[N]; }; 5 S<1000> s; // { dg-error "narrowing conversion" } 6