summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-multichar-2.c
blob: f9fd4f6dfa042c7ab92aac17786d6e6c599e9153 (plain)
1
2
3
4
5
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=multichar" }
/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
#if 'abc'  // { dg-error "multi-character character constant .-Werror=multichar." }
#endif