arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr89943_2.f90
blobac69ec3af56114b1ccc853c1b78d1dae2c0ec7af
1 ! { dg-do compile }
2 ! PR fortran/89943
3 ! Code contributed by Alberto Luaces <aluaces at udc dot se>
4 module Foo_mod
6 implicit none
8 interface
9 module function runFoo4C(ndim) bind(C, name="runFoo")
10 use, intrinsic :: iso_c_binding
11 implicit none
12 integer runFoo4c
13 integer(c_int32_t) , intent(in) :: ndim
14 end function runFoo4C
15 end interface
17 contains
19 end module Foo_mod
21 submodule(Foo_mod) Foo_smod
23 contains
25 module function runFoo4C(ndim) bind(C, name="runFoo")
26 use, intrinsic :: iso_c_binding
27 implicit none
28 integer runFoo4c
29 integer(c_int32_t) , intent(in) :: ndim
30 end function runFoo4C
32 end submodule Foo_smod