aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'flang/test/Semantics/assign04.f90')
-rw-r--r--flang/test/Semantics/assign04.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/test/Semantics/assign04.f90 b/flang/test/Semantics/assign04.f90
index a88c3a5b69f4..7cb30c49d7cd 100644
--- a/flang/test/Semantics/assign04.f90
+++ b/flang/test/Semantics/assign04.f90
@@ -8,7 +8,7 @@ subroutine s1
type(t(1, 2)) :: x
!ERROR: Assignment to constant 'x%k' is not allowed
x%k = 4
- !ERROR: Left-hand side of assignment is not modifiable
+ !ERROR: Assignment to constant 'x%l' is not allowed
x%l = 3
end