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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/47507
4
!
5
! PURE procedures: Allow arguments w/o INTENT if they are VALUE
6
!
7
 
8
pure function f(x)
9
  real, VALUE :: x
10
  real :: f
11
  f = sin(x)
12
end function f
13
 
14
pure subroutine sub(x)
15
  real, VALUE :: x
16
end subroutine sub

powered by: WebSVN 2.1.0

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