summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-27 16:28:20 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-28 15:37:11 (GMT)
commit92785ed74645e2331fca15ca1f657377c936a795 (patch)
treed02aff1cb087462b358141604d00a374a769cae0
parent210b0b99a96a37cb19de7e703c12f99a4a925926 (diff)
downloadCMake-92785ed74645e2331fca15ca1f657377c936a795.zip
CMake-92785ed74645e2331fca15ca1f657377c936a795.tar.gz
CMake-92785ed74645e2331fca15ca1f657377c936a795.tar.bz2
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.
-rw-r--r--Tests/FortranModules/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FortranModules/CMakeLists.txt b/Tests/FortranModules/CMakeLists.txt
index d056b43..b7a6f68 100644
--- a/Tests/FortranModules/CMakeLists.txt
+++ b/Tests/FortranModules/CMakeLists.txt
@@ -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