2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / unlimited_polymorphic_11.f90
blobbbd3d067f3fa28cf6223bee834bc03a25c22c131
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original" }
4 ! PR fortran/58652
6 ! Contributed by Vladimir Fuka
8 class(*),allocatable :: a
9 class(*),allocatable :: c
10 call move_alloc(a,c)
11 end
13 ! { dg-final { scan-tree-dump "\\(struct __vtype__STAR \\*\\) c._vptr = \\(struct __vtype__STAR \\*\\) a._vptr;" "original" } }