summaryrefslogtreecommitdiffstats
path: root/Tests/Fortran/mysub.f
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-27 15:56:09 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-27 15:56:09 (GMT)
commit38d1ff59daa197eb26e939247625f9d130281508 (patch)
treeda5100ae83abcfabf12e440f089bdebb06bb1d79 /Tests/Fortran/mysub.f
parent4c0a142d3d349bb51e0f9c9c2938afe66ab9ebe6 (diff)
downloadCMake-38d1ff59daa197eb26e939247625f9d130281508.zip
CMake-38d1ff59daa197eb26e939247625f9d130281508.tar.gz
CMake-38d1ff59daa197eb26e939247625f9d130281508.tar.bz2
ENH: Require language libs in Fortran/C test
This extends the Fortran/C interface test to require that the executable link to the fortran language runtime libraries. We must verify that the proper linker is chosen.
Diffstat (limited to 'Tests/Fortran/mysub.f')
-rw-r--r--Tests/Fortran/mysub.f1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Fortran/mysub.f b/Tests/Fortran/mysub.f
index 36b4155..4b108e3 100644
--- a/Tests/Fortran/mysub.f
+++ b/Tests/Fortran/mysub.f
@@ -1,4 +1,5 @@
subroutine mysub
+ print *, 'Printing this requires fortran language libraries'
end subroutine
subroutine my_sub
end subroutine