diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/lvalue-3.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/lvalue-3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/lvalue-3.c b/gcc/testsuite/gcc.dg/lvalue-3.c index 0745c7ec7e5..6a500d4d69f 100644 --- a/gcc/testsuite/gcc.dg/lvalue-3.c +++ b/gcc/testsuite/gcc.dg/lvalue-3.c @@ -9,6 +9,6 @@ typeof (x.a) b; void f (void) { - x.a = 1; /* { dg-error "error: assignment of read-only member 'a'" } */ - b = 1; /* { dg-error "error: assignment of read-only variable 'b'" } */ + x.a = 1; /* { dg-error "assignment of read-only member 'a'" } */ + b = 1; /* { dg-error "assignment of read-only variable 'b'" } */ } |