3 ! Tests the fix for PR71838 in which the PROCEDURE dummy argument caused
4 ! an ICE in the submodule. This an executable version of the reduced test
7 ! Contributed by Anton Shterenlikht <mexas@bristol.ac.uk>
8 ! Test reduced by Dominique d'Humieres <dominiq@lps.ens.fr>
10 subroutine hello (message)
11 character (7), intent(inout) :: message
17 subroutine cgca_clvgs_abstract(message)
18 character (7), intent(inout) :: message
19 end subroutine cgca_clvgs_abstract
23 module subroutine cgca_clvgp(sub)
24 procedure( cgca_clvgs_abstract ) :: sub
25 end subroutine cgca_clvgp
28 character (7) :: greeting
29 end module cgca_m3clvg
31 submodule ( cgca_m3clvg ) m3clvg_sm3
34 module procedure cgca_clvgp
36 end procedure cgca_clvgp
37 end submodule m3clvg_sm3
42 call cgca_clvgp (hello)
43 if (trim (greeting) .ne. "hello") call abort