summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/comp-goto-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/comp-goto-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/comp-goto-3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/comp-goto-3.c b/gcc/testsuite/gcc.dg/comp-goto-3.c
index add18613d75..5a3b4d2cad4 100644
--- a/gcc/testsuite/gcc.dg/comp-goto-3.c
+++ b/gcc/testsuite/gcc.dg/comp-goto-3.c
@@ -7,7 +7,7 @@
void
f (void)
{
- void *p = &&a; /* { dg-error "error: taking the address of a label is non-standard" } */
- goto *p; /* { dg-error "error: ISO C forbids 'goto \\*expr;'" } */
+ void *p = &&a; /* { dg-error "taking the address of a label is non-standard" } */
+ goto *p; /* { dg-error "ISO C forbids 'goto \\*expr;'" } */
a: ;
}