Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/bind_c_usage_27.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-std=f2008ts" } ! ! Contributed by Reinhold Bader ! use iso_c_binding type, bind(C) :: cstruct integer :: i end type interface subroutine psub(this, that) bind(c, name='Psub') import :: c_float, cstruct real(c_float), pointer :: this(:) type(cstruct), allocatable :: that(:) end subroutine psub end interface end