aboutsummaryrefslogtreecommitdiff
path: root/test/example_packages/submodules
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-10-26 17:16:44 -0500
committerGitHub <noreply@github.com>2020-10-26 17:16:44 -0500
commit4443986b3d5690ce4ee8bbc348834caa2040be23 (patch)
tree0553b054c43c89edab17a3d6959f7adb84648a61 /test/example_packages/submodules
parente92d9c9c406aff61d404d2afe71c416ed019beb0 (diff)
parent488bdd06ab78cec3085aa86b6dbe36a98f58eb86 (diff)
downloadfpm-4443986b3d5690ce4ee8bbc348834caa2040be23.tar.gz
fpm-4443986b3d5690ce4ee8bbc348834caa2040be23.zip
Merge pull request #213 from everythingfunctional/bootstrap_submodule_support
Bootstrap submodule support
Diffstat (limited to 'test/example_packages/submodules')
-rw-r--r--test/example_packages/submodules/fpm.toml1
-rw-r--r--test/example_packages/submodules/src/child1.f9016
-rw-r--r--test/example_packages/submodules/src/child2.f9010
-rw-r--r--test/example_packages/submodules/src/grandchild.f9010
-rw-r--r--test/example_packages/submodules/src/parent.f9015
5 files changed, 0 insertions, 52 deletions
diff --git a/test/example_packages/submodules/fpm.toml b/test/example_packages/submodules/fpm.toml
deleted file mode 100644
index cfc3d61..0000000
--- a/test/example_packages/submodules/fpm.toml
+++ /dev/null
@@ -1 +0,0 @@
-name = "submodules"
diff --git a/test/example_packages/submodules/src/child1.f90 b/test/example_packages/submodules/src/child1.f90
deleted file mode 100644
index dbd0fa5..0000000
--- a/test/example_packages/submodules/src/child1.f90
+++ /dev/null
@@ -1,16 +0,0 @@
-submodule(parent) child1
-implicit none
-
-interface
- module function my_fun() result (b)
- integer :: b
- end function my_fun
-end interface
-
-contains
-
-module procedure my_sub1
- a = 1
-end procedure my_sub1
-
-end submodule child1 \ No newline at end of file
diff --git a/test/example_packages/submodules/src/child2.f90 b/test/example_packages/submodules/src/child2.f90
deleted file mode 100644
index 179cc32..0000000
--- a/test/example_packages/submodules/src/child2.f90
+++ /dev/null
@@ -1,10 +0,0 @@
-submodule(parent) child2
-implicit none
-
-contains
-
-module procedure my_sub2
- a = 2
-end procedure my_sub2
-
-end submodule child2 \ No newline at end of file
diff --git a/test/example_packages/submodules/src/grandchild.f90 b/test/example_packages/submodules/src/grandchild.f90
deleted file mode 100644
index 8c5aa17..0000000
--- a/test/example_packages/submodules/src/grandchild.f90
+++ /dev/null
@@ -1,10 +0,0 @@
-submodule(parent:child1) grandchild
-implicit none
-
-contains
-
-module procedure my_fun
- b = 2
-end procedure my_fun
-
-end submodule grandchild \ No newline at end of file
diff --git a/test/example_packages/submodules/src/parent.f90 b/test/example_packages/submodules/src/parent.f90
deleted file mode 100644
index 570827c..0000000
--- a/test/example_packages/submodules/src/parent.f90
+++ /dev/null
@@ -1,15 +0,0 @@
-module parent
-implicit none
-
-interface
-
- module subroutine my_sub1(a)
- integer, intent(out) :: a
- end subroutine my_sub1
-
- module subroutine my_sub2(a)
- integer, intent(out) :: a
- end subroutine my_sub2
-end interface
-
-end module parent \ No newline at end of file