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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [class_35.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 run }
2
!
3
! PR 46313: [OOP] class container naming collisions
4
!
5
! Contributed by Tobias Burnus 
6
 
7
module one
8
  type two_three
9
  end type
10
end module
11
 
12
module one_two
13
  type three
14
  end type
15
end module
16
 
17
use one
18
use one_two
19
class(two_three), allocatable :: a1
20
class(three), allocatable :: a2
21
 
22
if (same_type_as(a1,a2)) call abort()
23
 
24
end
25
 
26
! { dg-final { cleanup-modules "one one_two" } }

powered by: WebSVN 2.1.0

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