1 /* PR c/61854 */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=iso9899:199409" } */
4 
5 void
foo(void)6 foo (void)
7 {
8   // 1st
9   /* { dg-error "C\\+\\+ style comments are not allowed in ISO C90" "comments"  { target *-*-*} .-1 } */
10   /* { dg-message "note: \[^\n\r]*reported only once" ""  { target *-*-*} .-2 } */
11   // 2nd
12   // 3rd
13 }
14