summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/streamio_2.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/streamio_2.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/streamio_2.f905
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/streamio_2.f90 b/gcc/testsuite/gfortran.dg/streamio_2.f90
index a7d5d3ccfaa..8260a7481c9 100644
--- a/gcc/testsuite/gfortran.dg/streamio_2.f90
+++ b/gcc/testsuite/gfortran.dg/streamio_2.f90
@@ -1,4 +1,6 @@
! { dg-do run }
+! { dg-options "-std=legacy" }
+!
! PR25828 Stream IO test 2
! Contributed by Jerry DeLisle <jvdelisle@verizon.net>.
PROGRAM readUstream
@@ -16,4 +18,5 @@ PROGRAM readUstream
if (string.ne."rst") call abort()
if (n.ne.7) call abort()
close(unit=11, status="delete")
-END PROGRAM readUstream \ No newline at end of file
+END PROGRAM readUstream
+