diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/substr_6.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/substr_6.f90 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/substr_6.f90 b/gcc/testsuite/gfortran.dg/substr_6.f90 index ee0eae49e0e..813a02521a3 100644 --- a/gcc/testsuite/gfortran.dg/substr_6.f90 +++ b/gcc/testsuite/gfortran.dg/substr_6.f90 @@ -1,4 +1,6 @@ ! { dg-do run } +! { dg-options "-std=legacy" } +! ! Check that NULs don't mess up constant substring simplification CHARACTER(5), parameter :: c0(1) = (/ "123" // ACHAR(0) // "5" /) CHARACTER*5 c(1) |