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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 695 jeremybenn
! Program to test compilation of subroutines following the main program
2
program mainsub
3
   implicit none
4
   integer i
5
   external test
6
 
7
   i = 0
8
   call test (i)
9
   if (i .ne. 42) call abort
10
end program
11
 
12
subroutine test (p)
13
   implicit none
14
   integer p
15
 
16
   p = 42
17
end subroutine

powered by: WebSVN 2.1.0

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