1 ! RUN: %python %S/test_symbols.py %s %flang_fc1
2 ! Ensure that SMPs work with dummy procedures declared as interfaces
7 !DEF: /m/smp MODULE, PUBLIC, PURE (Function) Subprogram REAL(4)
8 !DEF: /m/smp/f EXTERNAL, PURE (Function) Subprogram REAL(4)
9 !DEF: /m/smp/x INTENT(IN) ObjectEntity REAL(4)
10 !DEF: /m/smp/res ObjectEntity REAL(4)
11 pure
module function smp(f
, x
) result(res
)
16 !DEF: /m/smp/f/x INTENT(IN) ObjectEntity REAL(4)
17 !DEF: /m/smp/f/r ObjectEntity REAL(4)
18 pure
function f(x
) result(r
)
35 !DEF: /m/sm/smp MODULE, PUBLIC, PURE (Function) Subprogram REAL(4)
37 !DEF: /m/sm/smp/res ObjectEntity REAL(4)
38 !DEF: /m/sm/smp/f EXTERNAL, PURE (Function) Subprogram REAL(4)
39 !DEF: /m/sm/smp/x INTENT(IN) ObjectEntity REAL(4)