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_init_expr.f03] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! PR fortran/42354
3
 
4
use iso_c_binding
5
implicit none
6
integer, target :: a
7
type t
8
  type(c_ptr) :: ptr = c_loc(a)    ! { dg-error "must be an intrinsic function" }
9
end type t
10
type(c_ptr) :: ptr2 = c_loc(a)     ! { dg-error "must be an intrinsic function" }
11
end

powered by: WebSVN 2.1.0

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