1 /* Test for constant expressions: casts with integer overflow. PR
3 /* { dg-do compile } */
4 /* { dg-options "-std=c11 -pedantic-errors" } */
8 _Static_assert (0 ? (_Bool
) (INT_MAX
+ 1) : 1, "");
9 _Static_assert (0 ? (short) ((INT_MAX
+ 1) != 0) : 1, "");