diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/stfunc_4.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/stfunc_4.f90 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/stfunc_4.f90 b/gcc/testsuite/gfortran.dg/stfunc_4.f90 index e995fb86bec..2f0efccf326 100644 --- a/gcc/testsuite/gfortran.dg/stfunc_4.f90 +++ b/gcc/testsuite/gfortran.dg/stfunc_4.f90 @@ -1,4 +1,6 @@ ! { dg-do run } +! { dg-options "-std=legacy" } +! ! Tests the fix for PR29389, in which the statement function would not be ! recognised as PURE within a PURE procedure. |