summaryrefslogtreecommitdiffstats
path: root/Tests/Fortran
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Fortran')
-rw-r--r--Tests/Fortran/CMakeLists.txt2
-rw-r--r--Tests/Fortran/hello.f6
2 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt
new file mode 100644
index 0000000..1a90130
--- /dev/null
+++ b/Tests/Fortran/CMakeLists.txt
@@ -0,0 +1,2 @@
+PROJECT(testf FORTRAN)
+ADD_EXECUTABLE(testf hello.f)
diff --git a/Tests/Fortran/hello.f b/Tests/Fortran/hello.f
new file mode 100644
index 0000000..c9ee3c2
--- /dev/null
+++ b/Tests/Fortran/hello.f
@@ -0,0 +1,6 @@
+ PROGRAM GREETINGS
+
+ PRINT *, 'Real programmers write Fortran!'
+
+ END
+