2017-11-09 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / bind_c_usage_29.f90
blobcb9909cccb21832ad4987aee1a7ceb00e513338b
1 ! { dg-do compile }
3 ! PR fortran/38829
5 MODULE mExample
6 CONTAINS
7 SUBROUTINE wrapper(y_c) bind(c)
8 USE iso_c_binding
9 type, bind(c) :: ty_c
10 type(c_ptr) :: y_cptr
11 Integer(c_int) ny
12 end type
13 type(ty_c) :: y_c
14 END SUBROUTINE
15 END MODULE