2 ! This tests the fix for PR24866 in which the reference to the external str, in
3 ! sub_module, would get mixed up with the module procedure, str, thus
4 ! causing an ICE. This is a completed version of the reporter's testcase; ie
5 ! it adds a main program and working subroutines to allow a check for
8 ! Contributed by Uttam Pawar <uttamp@us.ibm.com>
11 print *, "external sub"
16 subroutine sub_module(str
)
19 end subroutine sub_module
23 end module test_module