repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged r158229 through r158464 into branch.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
warn-undef-2.c
blob
15fdde95c10fb9313e9b7ae96fb0ea5b4c4d4136
1
// { dg-do preprocess }
2
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=undef" }
3
/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
4
#if x
// { dg-error "\"x\" is not defined .-Werror=undef." }
5
#endif