diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/stfunc_3.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/stfunc_3.f90 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/stfunc_3.f90 b/gcc/testsuite/gfortran.dg/stfunc_3.f90 index 42eedf8c830..90980a92448 100644 --- a/gcc/testsuite/gfortran.dg/stfunc_3.f90 +++ b/gcc/testsuite/gfortran.dg/stfunc_3.f90 @@ -1,4 +1,6 @@ ! { dg-do compile } +! { dg-options "-std=legacy" } +! ! Tests the fix for PR20867 in which implicit typing was not done within ! statement functions and so was not confirmed or not by subsequent ! type delarations. |