1 ! RUN: %S/test_symbols.sh %s %t %flang_fc1
3 ! Test host association in internal subroutine of main program.
5 !DEF: /main MainProgram
7 !DEF: /main/x ObjectEntity INTEGER(4)
9 !DEF: /main/s (Subroutine) Subprogram
14 !DEF: /main/s/y (Implicit) ObjectEntity REAL(4)
15 !DEF: /main/s/x HostAssoc INTEGER(4)
18 !DEF: /main/s/s2 (Subroutine) Subprogram
20 !DEF: /main/s/s2/z (Implicit) ObjectEntity REAL(4)
21 !DEF: /main/s/s2/x HostAssoc INTEGER(4)
27 !DEF: /s (Subroutine) Subprogram
29 !DEF: /s/x ObjectEntity REAL(4)
31 !DEF: /s/s1 (Subroutine) Subprogram
36 !DEF: /s/s1/x HostAssoc REAL(4)
41 !DEF: /sb (Subroutine) Subprogram
43 !DEF: /sb/x TARGET ObjectEntity REAL(4)
45 !DEF: /sb/s1 (Subroutine) Subprogram
50 !DEF: /sb/s1/p POINTER ObjectEntity REAL(4)
53 !DEF: /sb/s1/x TARGET HostAssoc REAL(4)