parent
6d215476c0
commit
972857fc1d
4 changed files with 19 additions and 0 deletions
@ -0,0 +1,5 @@ |
||||
|
||||
real :: pi = 4.*atan(1.) |
||||
real :: tau |
||||
|
||||
include "inc2.f90" |
@ -0,0 +1,2 @@ |
||||
|
||||
tau = 2*pi |
@ -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…
Reference in new issue