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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [contained.f90] - Blame information for rev 695

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 695 jeremybenn
program contained
2
   implicit none
3
   integer i
4
 
5
   i = 0;
6
   call testproc (40)
7
   if (i .ne. 42) call abort
8
contains
9
   subroutine testproc (p)
10
      implicit none
11
      integer p
12
 
13
      if (p .ne. 40) call abort
14
      i = p + 2
15
   end subroutine
16
end program

powered by: WebSVN 2.1.0

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