gcc/testsuite/gcc.dg/cpp/warn-long-long.c
raw| 1 | // { dg-do preprocess } |
| 2 | // { dg-options "-std=gnu99 -fdiagnostics-show-option -Wtraditional -Wlong-long" } |
| 3 | |
| 4 | #if 0LL // { dg-warning "traditional C rejects the 'LL' suffix .-Wlong-long." } |
| 5 | // { dg-warning "use of C99 long long integer constant .-Wlong-long." "use long long" { target *-*-* } .-1 } |
| 6 | #endif |