summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr22308-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr22308-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr22308-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr22308-1.c b/gcc/testsuite/gcc.dg/pr22308-1.c
index bcbb294c2cb..2b3067577b2 100644
--- a/gcc/testsuite/gcc.dg/pr22308-1.c
+++ b/gcc/testsuite/gcc.dg/pr22308-1.c
@@ -9,5 +9,5 @@ struct foo { const int z; };
void
bar (void)
{
- t = s; /* { dg-error "error: assignment of read-only variable 't'" } */
+ t = s; /* { dg-error "assignment of read-only variable 't'" } */
}