2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / gcc / testsuite / gfortran.dg / g77 / f77-edit-x-out.f
blob9d196331dd16901abb507b8b634067e6639e1241
1 C Test Fortran 77 X descriptor
2 C (ANSI X3.9-1978 Section 13.5.3.2)
4 C Origin: David Billinghurst <David.Billinghurst@riotinto.com>
6 C { dg-do run }
7 C ( dg-output "^" }
8 write(*,'(I1,1X,I1,2X,I1)') 1,2,3 ! { dg-output "1 2 3(\n|\r\n|\r)" }
9 C Section 13.5.3 explains why there are no trailing blanks
10 write(*,'(I1,1X,I1,2X,I1,3X)') 1,2,3 ! { dg-output "1 2 3(\n|\r\n|\r)" }
11 C { dg-output "\$" }
12 end