diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-10-29 14:58:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-10-29 14:58:40 (GMT) |
commit | 84a4222314e8cb52781cb2b98dca4c69bb6cf739 (patch) | |
tree | 1b3dde4101bdfded6db3a6d500714416b51f6de2 /Tests/Fortran/foo.c | |
parent | 4eec7b2d03e0173deeb0f7ae29891eefb8ea9bb8 (diff) | |
download | CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.zip CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.tar.gz CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.tar.bz2 |
ENH: add test for FortranCInterface
Diffstat (limited to 'Tests/Fortran/foo.c')
-rw-r--r-- | Tests/Fortran/foo.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Fortran/foo.c b/Tests/Fortran/foo.c new file mode 100644 index 0000000..f03aec1 --- /dev/null +++ b/Tests/Fortran/foo.c @@ -0,0 +1,11 @@ +#include "foo.h" +extern F_test_mod_sub(); +extern F_mysub(); +int main() +{ + F_mysub(); + F_my_sub(); +#ifdef F_test_mod_sub + F_test_mod_sub(); +#endif +} |