OSDN Git Service

* gcc.dg/march.c: Ignore a note for some targets.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-intconst-2.c
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" } */
5
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