PR c/56980
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / warn-comments-3.c
blob639fa10158ca973bef6645787204b52578fd15a6
1 // { dg-do preprocess }
2 // { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=comment" }
3 /* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
4 /* /* */ // { dg-error "\"\.\*\" within comment .-Werror=comment." }
6 // \
7 // { dg-error "multi-line comment .-Werror=comment." "multi-line" { target *-*-* } 6 }