2 ! { dg-additional-sources bind_c_usage_10_c.c }
6 ! Check BIND(C) for ENTRY
12 subroutine sub1(j) bind(c, name="mySub1")
25 entry sub2ent(x) bind(c, name="mySubEnt2")
28 subroutine sub3(j) bind(c, name="mySub3")
33 entry sub3ent(x) bind(c, name="mySubEnt3")
41 entry sub4ent(x) bind(c)
45 integer(c_int) function func1() bind(c, name="myFunc1")
46 real(c_float) :: func1ent
52 integer(c_int) function func2()
53 real(c_float) :: func2ent
56 entry func2ent() bind(c, name="myFuncEnt2")
59 integer(c_int) function func3() bind(c, name="myFunc3")
60 real(c_float) :: func3ent
63 entry func3ent() bind(c, name="myFuncEnt3")
66 integer(c_int) function func4()
67 real(c_float) :: func4ent
70 entry func4ent() bind(c)