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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-func-2.c b/gcc/testsuite/gcc.dg/c99-func-2.c
index 11737d6..d6a6f24 100644
--- a/gcc/testsuite/gcc.dg/c99-func-2.c
+++ b/gcc/testsuite/gcc.dg/c99-func-2.c
@@ -6,6 +6,5 @@
void
foo (void)
{
- __func__ "foo"; /* { dg-bogus "warning" "warning in place of error" } */
- /* { dg-error "parse error" "__func__ not string constant" { xfail *-*-* } 9 } */
+ __func__ "foo"; /* { dg-error "parse error" "before string constant" } */
}