Index: gcc/gcc/testsuite/gfortran.dg/nested_modules_4.f90 |
diff --git a/gcc/gcc/testsuite/gfortran.dg/nested_modules_4.f90 b/gcc/gcc/testsuite/gfortran.dg/nested_modules_4.f90 |
index dde171c7ed956c4e21bd57b9267e184500084a06..6be77b36760f24ceadb4a2659bdf67a63f225ba0 100644 |
--- a/gcc/gcc/testsuite/gfortran.dg/nested_modules_4.f90 |
+++ b/gcc/gcc/testsuite/gfortran.dg/nested_modules_4.f90 |
@@ -1,4 +1,5 @@ |
! { dg-do compile } |
+! { dg-options "-std=legacy" } |
! |
! Test for the fix to PR24409 - the name clash between the module |
! name and the interface formal argument would cause an ICE. |