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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [alternate_return.f90] - Rev 843

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

program alt_return
  implicit none
  
  call myproc (1, *10, 42)
20 continue
  call abort ()
10 continue
  call myproc(2, *20, 42)
  call myproc(3, *20, 42)
contains
subroutine myproc(n, *, i)
  integer n, i
  if (i .ne. 42) call abort ()
  if (n .eq. 1) return 1
  if (n .eq. 2) return
end subroutine
end program alt_return

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

powered by: WebSVN 2.1.0

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