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