summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/exit_2.f08
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/exit_2.f08')
-rw-r--r--gcc/testsuite/gfortran.dg/exit_2.f086
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gfortran.dg/exit_2.f08 b/gcc/testsuite/gfortran.dg/exit_2.f08
index 23e7009cbf8..9b383f03bd4 100644
--- a/gcc/testsuite/gfortran.dg/exit_2.f08
+++ b/gcc/testsuite/gfortran.dg/exit_2.f08
@@ -10,16 +10,16 @@
PROGRAM main
IMPLICIT NONE
- EXIT ! { dg-error "is not within a loop" }
+ EXIT ! { dg-error "is not within a construct" }
EXIT foobar ! { dg-error "is unknown" }
- EXIT main ! { dg-error "is not a loop name" }
+ EXIT main ! { dg-error "is not a construct name" }
mainLoop: DO
CALL test ()
END DO mainLoop
otherLoop: DO
- EXIT mainLoop ! { dg-error "is not within loop 'mainloop'" }
+ EXIT mainLoop ! { dg-error "is not within construct 'mainloop'" }
END DO otherLoop
CONTAINS