1 ! RUN: %S/test_symbols.sh %s %t %flang_fc1
3 ! Old-style "*length" specifiers (R723)
5 !DEF: /f1 (Function) Subprogram CHARACTER(1_8,1)
6 !DEF: /f1/x1 INTENT(IN) ObjectEntity CHARACTER(2_4,1)
7 !DEF: /f1/x2 INTENT(IN) ObjectEntity CHARACTER(3_4,1)
8 character*1 function f1(x1
, x2
)
9 !DEF: /f1/n PARAMETER ObjectEntity INTEGER(4)
10 integer, parameter :: n
= 2
14 !DEF: /f1/len ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
15 character*(n
), intent(in
) :: x1
, x2
*(len(x1
)+1)
16 !DEF: /f1/t DerivedType
20 !DEF: /f1/t/c1 ObjectEntity CHARACTER(4_4,1)
21 !DEF: /f1/t/c2 ObjectEntity CHARACTER(6_8,1)
22 character*(len(x2
)+1) :: c1
, c2
*6