summaryrefslogtreecommitdiffstats
path: root/test cases/fortran/13 coarray/main.f90
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/fortran/13 coarray/main.f90')
-rw-r--r--test cases/fortran/13 coarray/main.f9010
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/fortran/13 coarray/main.f90 b/test cases/fortran/13 coarray/main.f90
new file mode 100644
index 0000000..eee03ea
--- /dev/null
+++ b/test cases/fortran/13 coarray/main.f90
@@ -0,0 +1,10 @@
+program main
+implicit none
+
+if (this_image() == 1) print *, 'number of Fortran coarray images:', num_images()
+
+sync all ! semaphore, ensures message above is printed at top.
+
+print *, 'Process ', this_image()
+
+end program