Debian Codegraph @

gcc/testsuite/gfortran.dg/c-interop/section-4.f90

raw
1 ! PR 101310
2 ! { dg-do run }
3 ! { dg-additional-sources "section-4-c.c dump-descriptors.c" }
4 ! { dg-additional-options "-g" }
5 !
6 ! This program tests various scenarios with using CFI_section to extract
7 ! a section with rank less than the source array. Everything interesting
8 ! happens on the C side.
9
10 program testit
11 use iso_c_binding
12 implicit none
13
14 interface
15 subroutine ctest () bind (c)
16 use iso_c_binding
17 end subroutine
18
19 end interface
20
21 call ctest ()
22
23 end program