summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/g77/f77-edit-slash-out.f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/g77/f77-edit-slash-out.f')
-rw-r--r--gcc/testsuite/gfortran.dg/g77/f77-edit-slash-out.f9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/g77/f77-edit-slash-out.f b/gcc/testsuite/gfortran.dg/g77/f77-edit-slash-out.f
new file mode 100644
index 000000000..6cc9a8842
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/g77/f77-edit-slash-out.f
@@ -0,0 +1,9 @@
+C Test Fortran 77 colon slash descriptor
+C (ANSI X3.9-1978 Section 13.5.4)
+C
+C Origin: David Billinghurst <David.Billinghurst@riotinto.com>
+C
+C { dg-do run }
+C { dg-output "^123(\n|\r\n|\r)45(\n|\r\n|\r)\$" }
+ write(*,'(3(I1)/2(I1))') (I,I=1,5)
+ end