summaryrefslogtreecommitdiff
path: root/Tests/VSGNUFortran/c_code/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/VSGNUFortran/c_code/main.c')
-rw-r--r--Tests/VSGNUFortran/c_code/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/VSGNUFortran/c_code/main.c b/Tests/VSGNUFortran/c_code/main.c
new file mode 100644
index 000000000..9157cc5f3
--- /dev/null
+++ b/Tests/VSGNUFortran/c_code/main.c
@@ -0,0 +1,7 @@
+#include <HelloWorldFCMangle.h> /* created by FortranCInterface */
+extern void FC_hello(void);
+int main()
+{
+ FC_hello();
+ return 0;
+}