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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gfortran.dg/] [c_loc_pure_1.f90] - Blame information for rev 427

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! { dg-options "-Wimplicit-interface" }
3
! PR 38220 - c_loc is pure and has an explicit interface
4
USE ISO_C_BINDING, ONLY: C_PTR, C_LOC
5
CONTAINS
6
  PURE SUBROUTINE F(x)
7
    INTEGER, INTENT(in), TARGET :: x
8
    TYPE(C_PTR) :: px
9
    px = C_LOC(x)
10
  END SUBROUTINE
11
END

powered by: WebSVN 2.1.0

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