Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/cpp/pr61854-c90.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
5 void | 5 void |
6 foo (void) | 6 foo (void) |
7 { | 7 { |
8 // 1st | 8 // 1st |
9 /* { dg-error "C\\+\\+ style comments are not allowed in ISO C90" "comments" { target *-*-*} .-1 } */ | 9 /* { dg-error "C\\+\\+ style comments are not allowed in ISO C90" "comments" { target *-*-*} .-1 } */ |
10 /* { dg-error "reported only once" "" { target *-*-*} .-2 } */ | 10 /* { dg-message "note: \[^\n\r]*reported only once" "" { target *-*-*} .-2 } */ |
11 // 2nd | 11 // 2nd |
12 // 3rd | 12 // 3rd |
13 } | 13 } |