mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
The lexical token expression added by commit v3.7.0-rc1~73^2~1 (Fortran: Add support for submodule syntax in dependency scanning, 2016-09-05) has a typo and does not match upper-case `B` in `SUBMODULE`. Fix it. Fixes: #18595
11 lines
272 B
Fortran
11 lines
272 B
Fortran
! Test the notation for a 1st-generation direct
|
|
! descendant of a parent module
|
|
SUBMODULE ( parent ) child
|
|
implicit none
|
|
CONTAINS
|
|
module function child_function() result(child_stuff)
|
|
logical :: child_stuff
|
|
child_stuff=.true.
|
|
end function
|
|
END SUBMODULE child
|