summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-long-long.c
blob: e86f9a6288d7d5d15ec7223694042723873f8665 (plain)
1
2
3
4
5
6
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Wtraditional -Wlong-long" }

#if 0LL  // { dg-warning "traditional C rejects the \"LL\" suffix .-Wlong-long." }
         // { dg-warning "use of C99 long long integer constant .-Wlong-long." "use long long" { target *-*-* } 4 }
#endif