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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/36463
4
! Gfortran used to fail on this testcase with:
5
! gfc_get_default_type(): Bad symbol '@0'
6
!
7
! Original program by James Van Buskirk
8
! Reduced by Janus Weil 
9
 
10
module other_fun
11
   interface
12
      function abstract_fun(x)
13
         integer x
14
         integer abstract_fun(x)
15
      end function abstract_fun
16
   end interface
17
end module other_fun
18
 
19
 program fptr
20
    use other_fun
21
    procedure(abstract_fun) :: fun
22
 end program fptr
23
 
24
! { dg-final { cleanup-modules "other_fun" } }

powered by: WebSVN 2.1.0

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