1 // PR c++/48003 2 // { dg-options "-fpermissive -w" } 3 // Test that we allow integer overflow in constant exprs with -fpermissive 4 5 template<int N> 6 struct test 7 { 8 typedef test<N - 1> prior; 9 }; 10 11 test<-2147483647-1> f; 12