Debian Codegraph @

gcc/testsuite/gfortran.dg/pr89943_1.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/89943
3 ! Code contributed by Alberto Luaces <aluaces at udc dot se>
4 module Foo_mod
5
6 implicit none
7
8 interface
9 module subroutine runFoo4C(ndim) bind(C, name="runFoo")
10 use, intrinsic :: iso_c_binding
11 implicit none
12 integer(c_int32_t) , intent(in) :: ndim
13 end subroutine runFoo4C
14 end interface
15
16 contains
17
18 end module Foo_mod
19
20 submodule(Foo_mod) Foo_smod
21
22 contains
23
24 module subroutine runFoo4C(ndim) bind(C, name="runFoo")
25 use, intrinsic :: iso_c_binding
26 implicit none
27 integer(c_int32_t) , intent(in) :: ndim
28 end subroutine runFoo4C
29
30 end submodule Foo_smod
31