Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-const-expr-15.c
blobb1744b671826ed7742623e96c3cd516109e10e74
1 /* Test for constant expressions: casts with integer overflow. PR
2 c/93241. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c99 -pedantic-errors" } */
6 #include <limits.h>
8 struct s { int a : (0 ? (_Bool) (INT_MAX + 1) : 1); };
9 struct t { int a : (0 ? (short) ((INT_MAX + 1) != 0) : 1); };