OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [iso_c_binding_only.f03] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
module iso_c_binding_only
3
  ! c_f_procpointer verifies that the c_funptr derived type for the cptr param
4
  ! is auto-generated, and c_f_pointer tests c_ptr.
5
  use, intrinsic :: iso_c_binding, only: c_null_ptr, c_f_procpointer
6
  ! This should be allowed since the C_PTR that the C_NULL_PTR needs will use
7
  ! a mangled name to prevent collisions.
8
  integer :: c_ptr
9
end module iso_c_binding_only
10
! { dg-final { cleanup-modules "iso_c_binding_only" } }
11
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.