OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [proc_assign_2.f90] - Blame information for rev 437

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! This checks the fix for PR34910, in which the invalid reference
3
! below caused an ICE.
4
!
5
! Contributed by Daniel Franke 
6
!
7
MODULE foo
8
CONTAINS
9
  INTEGER FUNCTION f()
10
  f = 42
11
  CONTAINS
12
    LOGICAL FUNCTION f1()
13
      f1 = .TRUE.
14
    END FUNCTION
15
 
16
    LOGICAL FUNCTION f2()
17
      f1 = .FALSE.  ! { dg-error "is not a variable" }
18
    END FUNCTION
19
  END FUNCTION
20
END MODULE
21
! { dg-final { cleanup-modules "foo" } }

powered by: WebSVN 2.1.0

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