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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [intrinsic_actual_4.f90] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! Tests the fix for PR27900, in which an ICE would be caused because
3
! the actual argument LEN had no type.
4
!
5
! Contributed by Klaus Ramstöck 
6
!
7
      subroutine sub (proc, chr)
8
      external proc
9
      integer proc
10
      character*(*) chr
11
      if (proc (chr) .ne. 6) call abort ()
12
      end subroutine sub
13
 
14
      implicit none
15
      integer i
16
      i = len ("123")
17
      call sub (len, "abcdef")
18
      end

powered by: WebSVN 2.1.0

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