diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/assumed_charlen_function_4.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/assumed_charlen_function_4.f90 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/assumed_charlen_function_4.f90 b/gcc/testsuite/gfortran.dg/assumed_charlen_function_4.f90 index 9c96ba4d69f..c8f804465b7 100644 --- a/gcc/testsuite/gfortran.dg/assumed_charlen_function_4.f90 +++ b/gcc/testsuite/gfortran.dg/assumed_charlen_function_4.f90 @@ -1,4 +1,6 @@ ! { dg-do compile } +! { dg-options "-std=legacy" } +! ! Tests the fix for PR28600 in which the declaration for the ! character length n, would be given the DECL_CONTEXT of 'gee' ! thus causing an ICE. |