summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-long-long.c
blob: ac39cc8eaef474e60f1a62f869697a23690db070 (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 *-*-* } .-1 }
#endif