blob: 34923675762abbc7e8f2f54945c183d337885c66 (
plain)
1
2
3
4
5
6
7
8
|
/* Test for integer constant types: diagnostics for constants outside
range of intmax_t must be pedwarns. PR 39559. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
#if 9223372036854775808LL /* { dg-error "integer constant is so large that it is unsigned" } */
unsigned long long l = 9223372036854775808LL; /* { dg-error "integer constant is so large that it is unsigned" } */
#endif
|