summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-undef.c
blob: dd4524d8136e4e297c14c6c177f7835663edff1e (plain)
1
2
3
4
5
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Wundef" }

#if x  // { dg-warning "\"x\" is not defined .-Wundef." }
#endif