From 7b37aa82c72edb6e1e15768367e76621ddfbadfc Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Fri, 27 Nov 2009 14:23:04 +0100 Subject: Fixed NAR-109 --- src/it/it0018-fortran/pom.xml | 81 ++++++++++++++++++++++++++++ src/it/it0018-fortran/src/main/fortran/a.f90 | 14 +++++ src/it/it0018-fortran/src/main/fortran/b.f90 | 11 ++++ src/it/it0018-fortran/src/main/fortran/c.f90 | 11 ++++ src/it/it0018-fortran/src/main/fortran/d.f90 | 11 ++++ 5 files changed, 128 insertions(+) create mode 100644 src/it/it0018-fortran/pom.xml create mode 100644 src/it/it0018-fortran/src/main/fortran/a.f90 create mode 100644 src/it/it0018-fortran/src/main/fortran/b.f90 create mode 100644 src/it/it0018-fortran/src/main/fortran/c.f90 create mode 100644 src/it/it0018-fortran/src/main/fortran/d.f90 (limited to 'src/it/it0018-fortran') diff --git a/src/it/it0018-fortran/pom.xml b/src/it/it0018-fortran/pom.xml new file mode 100644 index 0000000..b5bdb7a --- /dev/null +++ b/src/it/it0018-fortran/pom.xml @@ -0,0 +1,81 @@ + + + + + + 4.0.0 + + + org.apache.maven.its.nar + it-parent + 1.0-SNAPSHOT + ../it-parent/pom.xml + + + it0018-fortran + nar + + Maven NAR Fortran + 1.0-SNAPSHOT + + Fortran Example + + http://maven.apache.org/ + + + true + + + + + default + + true + + + install + + + maven-nar-plugin + true + + + c, d, b + + + + executable + + + + + + + + + + + + + + + + + diff --git a/src/it/it0018-fortran/src/main/fortran/a.f90 b/src/it/it0018-fortran/src/main/fortran/a.f90 new file mode 100644 index 0000000..2c898d1 --- /dev/null +++ b/src/it/it0018-fortran/src/main/fortran/a.f90 @@ -0,0 +1,14 @@ +program a +use B +use C +use D + +implicit none + + call f_b() + call f_c() + call f_d() + +end program a + + diff --git a/src/it/it0018-fortran/src/main/fortran/b.f90 b/src/it/it0018-fortran/src/main/fortran/b.f90 new file mode 100644 index 0000000..9a2d0bc --- /dev/null +++ b/src/it/it0018-fortran/src/main/fortran/b.f90 @@ -0,0 +1,11 @@ +module B + +contains + +subroutine f_b() + +write (6,*) "f_b()" + +end subroutine f_b + +end module B diff --git a/src/it/it0018-fortran/src/main/fortran/c.f90 b/src/it/it0018-fortran/src/main/fortran/c.f90 new file mode 100644 index 0000000..01dc193 --- /dev/null +++ b/src/it/it0018-fortran/src/main/fortran/c.f90 @@ -0,0 +1,11 @@ +module C + +contains + +subroutine f_c() + +write (6,*) "f_c()" + +end subroutine f_c + +end module C diff --git a/src/it/it0018-fortran/src/main/fortran/d.f90 b/src/it/it0018-fortran/src/main/fortran/d.f90 new file mode 100644 index 0000000..8b8b369 --- /dev/null +++ b/src/it/it0018-fortran/src/main/fortran/d.f90 @@ -0,0 +1,11 @@ +module D + +contains + +subroutine f_d() + +write (6,*) "f_d()" + +end subroutine f_d + +end module D -- cgit v1.2.3