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/] [procedure_lvalue.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR17911, where a USE associated l-value
3
! would cause an ICE in gfc_conv_variable.
4
! Test contributed by Tobias Schlueter  
5
module t
6
  interface a
7
     module procedure b
8
  end interface
9
contains
10
  integer function b(x)
11
    b = x
12
  end function b
13
end module t
14
 
15
subroutine r
16
  use t
17
  b = 1.       ! { dg-error "is not a VALUE" }
18
  y = a(1.)
19
end subroutine r
20
 
21
! { dg-final { cleanup-modules "t" } }

powered by: WebSVN 2.1.0

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