summaryrefslogtreecommitdiffstats
path: root/test cases/fortran/9 cpp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/fortran/9 cpp/main.c')
-rw-r--r--test cases/fortran/9 cpp/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/fortran/9 cpp/main.c b/test cases/fortran/9 cpp/main.c
new file mode 100644
index 0000000..c1750ad
--- /dev/null
+++ b/test cases/fortran/9 cpp/main.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+double fortran(void);
+
+int main(void) {
+ printf("FORTRAN gave us this number: %lf.\n", fortran());
+ return 0;
+}