aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-func-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-func-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/c99-func-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-func-2.c b/gcc/testsuite/gcc.dg/c99-func-2.c
index d6a6f243f91..9dc8b58c673 100644
--- a/gcc/testsuite/gcc.dg/c99-func-2.c
+++ b/gcc/testsuite/gcc.dg/c99-func-2.c
@@ -6,5 +6,5 @@
void
foo (void)
{
- __func__ "foo"; /* { dg-error "parse error" "before string constant" } */
+ __func__ "foo"; /* { dg-error "(parse|syntax) error" "before string constant" } */
}