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.0rc1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [alternate_return.f90] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
program alt_return
2
  implicit none
3
 
4
  call myproc (1, *10, 42)
5
20 continue
6
  call abort ()
7
10 continue
8
  call myproc(2, *20, 42)
9
  call myproc(3, *20, 42)
10
contains
11
subroutine myproc(n, *, i)
12
  integer n, i
13
  if (i .ne. 42) call abort ()
14
  if (n .eq. 1) return 1
15
  if (n .eq. 2) return
16
end subroutine
17
end program alt_return
18
 

powered by: WebSVN 2.1.0

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