summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cpp/warning-directive-3.c
blob: 0c50a318df69f021ee3e52d969a8d9b22c38fea7 (plain)
1
2
3
4
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror -Wno-error=cpp" { target c } }
// { dg-options "-fdiagnostics-show-option -Werror -Wno-error=cpp" { target c++ } }
#warning "Printed"  // { dg-warning "\"Printed\" .-Wcpp." }