From 1fb2c203652f2ce5677efda392c24a338889a202 Mon Sep 17 00:00:00 2001 From: LKedward Date: Sat, 3 Oct 2020 12:35:59 +0100 Subject: Update: hello_complex_2 to expose link bug There's a bug which causes app-local modules to be added twice if auto-discovery is on and the app is specified in the manifest. This causes the module to be compiled and linked twice. Not detected before because the module contained no symbols. This commit adds an integer symbol to an app-local module to test this bug. --- test/example_packages/hello_complex_2/app/say_hello/app_hello_mod.f90 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/example_packages') diff --git a/test/example_packages/hello_complex_2/app/say_hello/app_hello_mod.f90 b/test/example_packages/hello_complex_2/app/say_hello/app_hello_mod.f90 index 5c426c8..c5795cb 100644 --- a/test/example_packages/hello_complex_2/app/say_hello/app_hello_mod.f90 +++ b/test/example_packages/hello_complex_2/app/say_hello/app_hello_mod.f90 @@ -1,4 +1,6 @@ module app_hello_mod implicit none +integer :: hello_int = 42 + end module app_hello_mod -- cgit v1.2.3