1 /* PR c/61854 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-std=gnu89 -pedantic -w" } */ 4 5 int main(void)6main (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 } 13