1 ! RUN: %python %S/test_modfile.py %s %flang_fc1
3 character(2), parameter :: prefix
= 'c_'
4 integer, bind(c
, name
='c_a') :: a
5 procedure(sub
), bind(c
, name
=prefix
//'b'), pointer :: b
11 bind(c
, name
='dd') :: d
13 bind(c
, name
='ee') :: e
15 bind(c
, name
='ff') :: f
19 subroutine sub() bind(c
, name
='sub')
25 ! character(2_4,1),parameter::prefix="c_"
26 ! integer(4),bind(c, name="c_a")::a
27 ! procedure(sub),bind(c, name="c_b"),pointer::b
31 ! procedure(real(4)),bind(c, name="dd")::d
32 ! procedure(real(4)),bind(c, name="ee")::e
33 ! procedure(real(4)),bind(c, name="ff")::f
35 ! subroutine sub() bind(c, name="sub")