gcc/testsuite/gfortran.dg/g77/f77-edit-h-out.f
raw| 1 | C Test Fortran 77 H edit descriptor |
| 2 | C (ANSI X3.9-1978 Section 13.5.2) |
| 3 | C |
| 4 | C Origin: David Billinghurst <[email protected]> |
| 5 | C |
| 6 | C { dg-do run } |
| 7 | C { dg-output "^" } |
| 8 | 10 format(1H1) |
| 9 | 20 format(6H 6) |
| 10 | write(*,10) ! { dg-output "1(\r*\n+)" } |
| 11 | write(*,20) ! { dg-output " 6(\r*\n+)" } |
| 12 | write(*,'(16H''apostrophe'' fun)') ! { dg-output "'apostrophe' fun(\r*\n+)" } |
| 13 | C { dg-output "\$" } |
| 14 | end |