Tests: Enable Fortran submodule tests on XL compilers

Since commit b66bc6606e (Tests: Add Fortran submodule tests, 2016-09-22,
v3.7.0-rc1~55^2) we try a small test program to see if the Fortran
compiler supports submodules.  However, a typo in the test program
caused it to fail on XL with the error:

    1513-083 (E) Internal or module function id was not set within the function.

Fix the typo so that the check passes and enables the submodule tests
with XL compilers.
This commit is contained in:
Brad King 2020-02-27 11:28:20 -05:00
parent 210b0b99a9
commit 92785ed746

View File

@ -21,7 +21,7 @@ end module parent
submodule ( parent ) child
contains
module procedure id
f = x
id = x
end procedure id
end submodule child
program main