Codebase list ohcount / c941801a-846c-49c1-93c4-07f1094d7537/main test / src_dir / fortranfree.f
c941801a-846c-49c1-93c4-07f1094d7537/main

Tree @c941801a-846c-49c1-93c4-07f1094d7537/main (Download .tar.gz)

fortranfree.f @c941801a-846c-49c1-93c4-07f1094d7537/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