URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [c_sizeof_3.f90] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do link }
!
! PR fortran/40568
!
! Module checks for C_SIZEOF (part of ISO_C_BINDING)
!
subroutine test
use iso_c_binding, only: foo => c_sizeof, bar=> c_sizeof, c_sizeof, c_int
integer(c_int) :: i
print *, c_sizeof(i), bar(i), foo(i)
end
use iso_c_binding
implicit none
integer(c_int) :: i
print *, c_sizeof(i)
call test()
end
Go to most recent revision | Compare with Previous | Blame | View Log