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