-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
demonstrate that the old scanner is broken
(if applied before the two step scanner, also make `NinjaBackend.get_fortran_orderdeps()` a no-op) run: the follwing in this test: meson setup builddir ninja -C builddir/ mod_name_case.p/test.f90.o -v -j1 Watch compilation fail, since we don't have a proper dependency order.
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
module mymod2 | ||
use mymod1 | ||
implicit none | ||
|
||
integer, parameter :: myModVal2 = 2 | ||
|
||
contains | ||
subroutine showvalues() | ||
print*, "myModVal1 = ", myModVal1 | ||
print*, "myModVal2 = ", myModVal2 | ||
end subroutine showvalues | ||
|
||
|
||
end module mymod2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
program main | ||
use mymod1 | ||
use MyMod2 ! test inline comment | ||
|
||
implicit none | ||
|
||
integer, parameter :: testVar = myModVal1 + myModVal2 | ||
call showvalues() | ||
|
||
end program |