2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_35.f90
blob87a5c871294a4e89e8f12cec3fb8956161ef36b5
1 ! { dg-do run }
3 ! PR 46313: [OOP] class container naming collisions
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
7 module one
8 type two_three
9 end type
10 end module
12 module one_two
13 type three
14 end type
15 end module
17 use one
18 use one_two
19 class(two_three), allocatable :: a1
20 class(three), allocatable :: a2
22 if (same_type_as(a1,a2)) call abort()
24 end