summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-long-long-2.c
blob: a39cba49014d40cb7f196ee9df6b254e8c4f2d15 (plain)
1
2
3
4
5
6
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Wtraditional -Werror=long-long" }
/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
#if 0LL  // { dg-error "traditional C rejects the \"LL\" suffix .-Werror=long-long." }
         // { dg-error "use of C99 long long integer constant .-Werror=long-long." "use long long" { target *-*-* } .-1 }
#endif