URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [bind_c_usage_15.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }!! PR fortran/34187! The binding label was not exported for private procedures! with public generic interfaces.!module moduse iso_c_binding, only: c_intimplicit noneprivatepublic :: gen, c_intinterface genmodule procedure testend interface gencontainssubroutine test(a) bind(c, name="myFunc")integer(c_int), intent(out) :: aa = 17end subroutine testend module modprogram mainuse modimplicit noneinteger(c_int) :: xx = -44call gen(x)if(x /= 17) call abort()end program main! { dg-final { cleanup-modules "mod" } }
