1 // PR c++/25503 2 3 template<int N> 4 struct Test 5 { TestTest6 Test() 7 { 8 typedef struct StaticAssert {unsigned condition : (N); } XXX; // { dg-error "zero width" } 9 } 10 }; 11 12 int main()13 main() 14 { 15 Test<0> T; 16 } 17