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/] [mainsub.f90] - Rev 826

Compare with Previous | Blame | View Log

! Program to test compilation of subroutines following the main program
program mainsub
   implicit none
   integer i
   external test

   i = 0
   call test (i)
   if (i .ne. 42) call abort
end program

subroutine test (p)
   implicit none
   integer p

   p = 42
end subroutine

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.