summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-trigraphs-4.c
blob: d8333d4c3b5f0df84bbab829c0579fe6b3fe99a3 (plain)
1
2
3
4
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=trigraphs" }
/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
??=  // { dg-error "trigraph \\?\\?= ignored, use -trigraphs to enable .-Werror=trigraphs." }