OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [private_type_13.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! Test fix for F95 part of PR39800, in which the host association of the type 't1'
3
! generated an error.
4
!
5
! Reported to clf by Alexei Matveev  and reported by
6
! Tobias Burnus  
7
!
8
module m
9
  implicit none
10
  private
11
 
12
  type :: t1
13
    integer :: i
14
  end type
15
 
16
  type :: t2
17
    type(t1) :: j
18
  end type
19
 
20
  contains
21
 
22
    subroutine sub()
23
      implicit none
24
 
25
      type :: t3
26
        type(t1) :: j
27
      end type
28
 
29
    end subroutine
30
 
31
end module
32
! { 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.