1 ! RUN: %python %S/test_symbols.py %s %flang_fc1
2 !DEF: /MainProgram1/ipdt DerivedType
3 !DEF: /MainProgram1/ipdt/k TypeParam INTEGER(4)
5 !REF: /MainProgram1/ipdt/k
7 !REF: /MainProgram1/ipdt/k
8 !DEF: /MainProgram1/ipdt/x ObjectEntity INTEGER(int(int(k,kind=4),kind=8))
11 !DEF: /MainProgram1/rpdt DerivedType
12 !DEF: /MainProgram1/rpdt/k TypeParam INTEGER(4)
14 !REF: /MainProgram1/rpdt/k
16 !REF: /MainProgram1/rpdt/k
17 !DEF: /MainProgram1/rpdt/x ObjectEntity REAL(int(int(k,kind=4),kind=8))
20 !DEF: /MainProgram1/zpdt DerivedType
21 !DEF: /MainProgram1/zpdt/k TypeParam INTEGER(4)
23 !REF: /MainProgram1/zpdt/k
25 !REF: /MainProgram1/zpdt/k
26 !DEF: /MainProgram1/zpdt/x ObjectEntity COMPLEX(int(int(k,kind=4),kind=8))
29 !DEF: /MainProgram1/lpdt DerivedType
30 !DEF: /MainProgram1/lpdt/k TypeParam INTEGER(4)
32 !REF: /MainProgram1/lpdt/k
34 !REF: /MainProgram1/lpdt/k
35 !DEF: /MainProgram1/lpdt/x ObjectEntity LOGICAL(int(int(k,kind=4),kind=8))
38 !REF: /MainProgram1/ipdt
39 !DEF: /MainProgram1/i1 ObjectEntity TYPE(ipdt(k=1_4))
41 !REF: /MainProgram1/ipdt
42 !DEF: /MainProgram1/i2 ObjectEntity TYPE(ipdt(k=2_4))
44 !REF: /MainProgram1/ipdt
45 !DEF: /MainProgram1/i4 ObjectEntity TYPE(ipdt(k=4_4))
47 !REF: /MainProgram1/ipdt
48 !DEF: /MainProgram1/i8 ObjectEntity TYPE(ipdt(k=8_4))
50 !REF: /MainProgram1/ipdt
51 !DEF: /MainProgram1/i16 ObjectEntity TYPE(ipdt(k=16_4))
53 !REF: /MainProgram1/rpdt
54 !DEF: /MainProgram1/a2 ObjectEntity TYPE(rpdt(k=2_4))
56 !REF: /MainProgram1/rpdt
57 !DEF: /MainProgram1/a4 ObjectEntity TYPE(rpdt(k=4_4))
59 !REF: /MainProgram1/rpdt
60 !DEF: /MainProgram1/a8 ObjectEntity TYPE(rpdt(k=8_4))
62 !REF: /MainProgram1/rpdt
63 !DEF: /MainProgram1/a16 ObjectEntity TYPE(rpdt(k=16_4))
65 !REF: /MainProgram1/zpdt
66 !DEF: /MainProgram1/z2 ObjectEntity TYPE(zpdt(k=2_4))
68 !REF: /MainProgram1/zpdt
69 !DEF: /MainProgram1/z4 ObjectEntity TYPE(zpdt(k=4_4))
71 !REF: /MainProgram1/zpdt
72 !DEF: /MainProgram1/z8 ObjectEntity TYPE(zpdt(k=8_4))
74 !REF: /MainProgram1/zpdt
75 !DEF: /MainProgram1/z16 ObjectEntity TYPE(zpdt(k=16_4))
77 !REF: /MainProgram1/lpdt
78 !DEF: /MainProgram1/l1 ObjectEntity TYPE(lpdt(k=1_4))
80 !REF: /MainProgram1/lpdt
81 !DEF: /MainProgram1/l2 ObjectEntity TYPE(lpdt(k=2_4))
83 !REF: /MainProgram1/lpdt
84 !DEF: /MainProgram1/l4 ObjectEntity TYPE(lpdt(k=4_4))
86 !REF: /MainProgram1/lpdt
87 !DEF: /MainProgram1/l8 ObjectEntity TYPE(lpdt(k=8_4))