Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/pr61854-8.c

raw
1 /* PR c/61854 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu89 -pedantic -w" } */
4
5 int
6 main (void)
7 {
8 // Comment.
9 /* { dg-bogus "C\\+\\+ style comments are not allowed in ISO C90" "comments" { target *-*-*} .-1 } */
10 /* { dg-bogus "note: \[^\n\r]*reported only once" "" { target *-*-*} .-2 } */
11 return 0;
12 }