summaryrefslogtreecommitdiff
path: root/Tests/Fortran/myc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Fortran/myc.c')
-rw-r--r--Tests/Fortran/myc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Fortran/myc.c b/Tests/Fortran/myc.c
new file mode 100644
index 000000000..efd9b68aa
--- /dev/null
+++ b/Tests/Fortran/myc.c
@@ -0,0 +1,12 @@
+#include "foo.h"
+extern F_test_mod_sub(void);
+extern F_mysub(void);
+int myc(void)
+{
+ F_mysub();
+ F_my_sub();
+#ifdef TEST_MOD
+ F_test_mod_sub();
+#endif
+ return 0;
+}