7 module function runFoo4C(ndim
) bind(C
, name
="runFoo")
8 use, intrinsic :: iso_c_binding
11 integer(c_int32_t
) , intent(in
) :: ndim
19 submodule(Foo_mod
) Foo_smod
23 module function runFoo4C(ndim
) bind(C
, name
="runFu") ! { dg-error "Mismatch in BIND" }
24 use, intrinsic :: iso_c_binding
! { dg-error "Unexpected USE statement in" }
25 implicit none ! { dg-error "Unexpected IMPLICIT NONE statement" }
26 integer(c_int32_t
) , intent(in
) :: ndim
! { dg-error "Symbol 'c_int32_t' at .1. has no IMPLICIT type" }
27 end function runFoo4C
! { dg-error "Expecting END SUBMODULE" }
29 end submodule Foo_smod