Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / c99-intconst-2.c
blob34923675762abbc7e8f2f54945c183d337885c66
1 /* Test for integer constant types: diagnostics for constants outside
2 range of intmax_t must be pedwarns. PR 39559. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
6 #if 9223372036854775808LL /* { dg-error "integer constant is so large that it is unsigned" } */
7 unsigned long long l = 9223372036854775808LL; /* { dg-error "integer constant is so large that it is unsigned" } */
8 #endif