OSDN Git Service

PR tree-optimization/52019
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / warn-long-long-2.c
1 // { dg-do preprocess }
2 // { dg-options "-std=gnu99 -fdiagnostics-show-option -Wtraditional -Werror=long-long" }
3 /* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
4 #if 0LL  // { dg-error "traditional C rejects the \"LL\" suffix .-Werror=long-long." }
5          // { dg-error "use of C99 long long integer constant .-Werror=long-long." "use long long" { target *-*-* } 4 }
6 #endif