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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! check to make the nested function dawsonseries_v gets the correct
2
! fake return decl and that the outer (dawson_v) has an assignment of
3
! just the fake return decl for real and not the inner's return decl.
4
! { dg-do compile }
5
FUNCTION dawson_v()
6
  IMPLICIT NONE
7
  REAL  :: dawson_v
8
  dawson_v = 1.0
9
 
10
  CONTAINS
11
    FUNCTION dawsonseries_v()
12
      IMPLICIT NONE
13
      REAL, DIMENSION(1) :: dawsonseries_v
14
      dawsonseries_v=1.0
15
    END FUNCTION dawsonseries_v
16
END FUNCTION dawson_v

powered by: WebSVN 2.1.0

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