summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/char_expr_2.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/char_expr_2.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/char_expr_2.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/char_expr_2.f90 b/gcc/testsuite/gfortran.dg/char_expr_2.f90
index 86499eb454c..f3bfb04b2c8 100644
--- a/gcc/testsuite/gfortran.dg/char_expr_2.f90
+++ b/gcc/testsuite/gfortran.dg/char_expr_2.f90
@@ -11,5 +11,5 @@ interface
end subroutine foo
end interface
character :: n(5)
-call foo( (n) ) ! { dg-error "must be definable" }
+call foo( (n) ) ! { dg-error "Non-variable expression" }
end