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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [nesting_3.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 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,DIMENSION(1)  :: dawson_v
8
  dawson_v = 1.0
9
  CONTAINS
10
    FUNCTION dawsonseries_v()
11
      IMPLICIT NONE
12
      REAL, DIMENSION(1) :: dawsonseries_v
13
      dawsonseries_v=1.0
14
    END FUNCTION dawsonseries_v
15
END FUNCTION dawson_v

powered by: WebSVN 2.1.0

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