Codebase list ohcount / 420c4794-75b8-4551-a2c5-42f5fb1d3fbf/main test / src_dir / fortranfree.f
420c4794-75b8-4551-a2c5-42f5fb1d3fbf/main

Tree @420c4794-75b8-4551-a2c5-42f5fb1d3fbf/main (Download .tar.gz)

fortranfree.f @420c4794-75b8-4551-a2c5-42f5fb1d3fbf/mainraw · history · blame

! -*- F90 -*-
!     Just a comment, whee.
      program foofree
      integer:: c

!     Many languages seem to count split lines as multiple lines,
!     so we should, too.
      write (*,*) 1 &
     & + 1

C = 1 ! Not a comment.

! And I've never seen Fortran code that wraps strings; I'm
! not even sure fixed form allows it.
      write (*,*) 'But we might as well test for it in&
                  & free format.'

end