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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [implicit_derived_type_1.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/36746
4
! Check that parsing of component references for symbols with IMPLICIT
5
! derived-type works.
6
 
7
! Reduced test from the PR.
8
! Contributed by Tobias Burnus 
9
 
10
module m
11
  type t
12
    integer :: i
13
  end type t
14
contains
15
  subroutine s(x)
16
    implicit type(t)(x)
17
    dimension x(:)
18
    print *, x(1)%i
19
  end subroutine s
20
end module m
21
 
22
! { dg-final { cleanup-modules "m" } }

powered by: WebSVN 2.1.0

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