aboutsummaryrefslogtreecommitdiff
path: root/circular_test/src
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-05-29 19:58:34 -0700
committerBrad Richardson <brichardson@structint.com>2020-05-29 19:58:34 -0700
commit6297e11e84f609c08384a83f9bd1e61d51de740a (patch)
tree3a383bf379f0d536af26a887c24f043b76d1a96c /circular_test/src
parentc2d5c656affd4e0a7c97e8ca469fb6cfba00dc4d (diff)
downloadfpm-6297e11e84f609c08384a83f9bd1e61d51de740a.tar.gz
fpm-6297e11e84f609c08384a83f9bd1e61d51de740a.zip
Impelement test/executable specific dependencies
- with the possibility of them being "circular", meaning if one of them depends on the current library, it will still work
Diffstat (limited to 'circular_test/src')
-rw-r--r--circular_test/src/hello_test.f9012
1 files changed, 12 insertions, 0 deletions
diff --git a/circular_test/src/hello_test.f90 b/circular_test/src/hello_test.f90
new file mode 100644
index 0000000..5a591c6
--- /dev/null
+++ b/circular_test/src/hello_test.f90
@@ -0,0 +1,12 @@
+module hello_test
+ use greet_m, only: make_greeting
+
+ implicit none
+ private
+
+ public :: run_test
+contains
+ subroutine run_test
+ print *, make_greeting("from test")
+ end subroutine run_test
+end module hello_test