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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [class_array_11.f03] - 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/46356
4
! This program was leading to an ICE related to class arrays
5
!
6
! Original testcase by Ian Harvey 
7
! Reduced by Janus Weil 
8
 
9
  IMPLICIT NONE
10
 
11
  TYPE :: ParentVector
12
    INTEGER :: a
13
  END TYPE ParentVector
14
 
15
CONTAINS
16
 
17
  SUBROUTINE vector_operation(pvec)
18
    CLASS(ParentVector), INTENT(INOUT) :: pvec(:)
19
    print *,pvec(1)%a
20
  END SUBROUTINE
21
 
22
END
23
 

powered by: WebSVN 2.1.0

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