aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr61854-c94.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/pr61854-c94.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/pr61854-c94.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/pr61854-c94.c b/gcc/testsuite/gcc.dg/cpp/pr61854-c94.c
index 64f1e18..bd5ea6e 100644
--- a/gcc/testsuite/gcc.dg/cpp/pr61854-c94.c
+++ b/gcc/testsuite/gcc.dg/cpp/pr61854-c94.c
@@ -6,8 +6,8 @@ void
foo (void)
{
// 1st
- /* { dg-error "C\\+\\+ style comments are not allowed in ISO C90" "comments" { target *-*-*} 8 } */
- /* { dg-error "reported only once" "" { target *-*-*} 8 } */
+ /* { dg-error "C\\+\\+ style comments are not allowed in ISO C90" "comments" { target *-*-*} .-1 } */
+ /* { dg-error "reported only once" "" { target *-*-*} .-2 } */
// 2nd
// 3rd
}