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/] [compile/] [gen_interf.f90] - Blame information for rev 859

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

Line No. Rev Author Line
1 303 jeremybenn
! Program to test generic interfaces.
2
program gen_interf
3
   implicit none
4
   interface gen
5
      function ifn (a)
6
         integer :: a, ifn
7
      end function
8
   end interface
9
   interface gsub
10
      subroutine igsub (a)
11
         integer a
12
      end subroutine
13
   end interface
14
 
15
   integer i
16
 
17
   call gsub (i)
18
   i = gen(i)
19
end program

powered by: WebSVN 2.1.0

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