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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [proc_ptr_16.f90] - Blame information for rev 801

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR 39946: PROCEDURE statements: interface with RESULT variable
4
!
5
! Original test case by Juergen Reuter 
6
! Modified by Janus Weil 
7
 
8
  procedure(prc_is_allowed), pointer :: fptr
9
 
10
  interface
11
     function prc_is_allowed (flv, hel, col) result (is_allowed)
12
       logical :: is_allowed
13
       integer, intent(in) :: flv, hel, col
14
     end function prc_is_allowed
15
  end interface
16
 
17
  fptr => prc_is_allowed
18
 
19
end
20
 

powered by: WebSVN 2.1.0

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