PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / host_assoc_call_5.f90
bloba788be1926aaccf1a36bccba37092797d093141c
1 ! { dg-do compile }
2 ! Tests the fix for PR37597, where the reference to other_sub would generate
3 ! Error: Symbol 'other_sub' at (1) has no IMPLICIT type.
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
6 ! from a report on clf by Rich Townsend <rhdt@barvoidtol.udel.edu>
8 module foo
9 implicit none
10 contains
11 subroutine main_sub ()
12 call internal_sub()
13 contains
14 subroutine internal_sub()
15 call QAG(other_sub)
16 end subroutine internal_sub
17 end subroutine main_sub
18 subroutine other_sub ()
19 end subroutine other_sub
20 end module foo