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

Subversion Repositories openrisc

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

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 36426
4
!
5
! Contributed by Tobias Burnus 
6
 
7
abstract interface
8
  function foo(x)
9
    character(len=*) :: x
10
    character(len=len(x)) :: foo
11
  end function foo
12
end interface
13
procedure(foo) :: bar
14
 
15
abstract interface
16
  character function abs_fun()
17
  end function
18
end interface
19
procedure(abs_fun):: x
20
 
21
character(len=20) :: str
22
str = bar("Hello")
23
end

powered by: WebSVN 2.1.0

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