view gcc/testsuite/gfortran.dg/pr86587.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
line wrap: on
line source

! { dg-do compile }
! PR fortran/86587
! Code contirubted by Valentin Clement <valentin.clement at env dot ethz dot ch>
!
module mod1
   use iso_c_binding
   type, bind(c), private :: mytype
      integer(c_int) :: i1, i2
   end type
end module mod1

module mod2
  use iso_c_binding
  private
  type, bind(c) :: mytype
    integer(c_int) :: i1, i2
  end type
end module mod2