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

Subversion Repositories openrisc

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

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 41242: [4.5 Regression] PPC call rejected (related to user-defined assignment?)
4
!
5
! Original test case by Juergen Reuter 
6
! Modified by Janus Weil 
7
 
8
  type :: nf_t
9
     procedure(integer), nopass, pointer :: get_n_in
10
  end type
11
 
12
  interface assignment(=)
13
     procedure op_assign
14
  end interface
15
 
16
  type(nf_t) :: prc_lib
17
  prc_lib = "foobar"
18
  print *, prc_lib%get_n_in()
19
 
20
contains
21
 
22
  elemental subroutine op_assign (str, ch)
23
    type(nf_t), intent(out) :: str
24
    character(len=*), intent(in) :: ch
25
  end subroutine
26
 
27
end
28
 

powered by: WebSVN 2.1.0

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