add fortran include test case

pull/5081/head
Michael Hirsch, Ph.D 6 years ago
parent 6d215476c0
commit 972857fc1d
No known key found for this signature in database
GPG Key ID: 6D23CDADAB0294F9
  1. 5
      test cases/fortran/15 include/inc1.f90
  2. 2
      test cases/fortran/15 include/inc2.f90
  3. 8
      test cases/fortran/15 include/main.f90
  4. 4
      test cases/fortran/15 include/meson.build

@ -0,0 +1,5 @@
real :: pi = 4.*atan(1.)
real :: tau
include "inc2.f90"

@ -0,0 +1,8 @@
implicit none
include "inc1.f90"
print *, '2*pi:', tau
end program

@ -0,0 +1,4 @@
project('Inclusive', 'fortran')
exe = executable('incexe', 'main.f90')
test('Fortran include files', exe)
Loading…
Cancel
Save