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