Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-overflow3.C

raw
1 // PR c++/98332
2 // { dg-do compile { target c++11 } }
3
4 #include <limits.h>
5
6 struct S { int a = INT_MAX + 1; }; // { dg-warning "overflow" }
7 struct { S b[2][1][1][1]; } c;