Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gfortran.dg / unlimited_polymorphic_8.f90
blob3b40e131efb0ef62717fedc4109cc7d75e3e8724
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original" }
4 ! PR fortran/55854
6 ! Contributed by Damian Rouson
9 type foo
10 class(*), allocatable :: x
11 end type
12 contains
13 subroutine bar(this)
14 type(foo), intent(out) :: this
15 end
16 end
18 ! { dg-final { scan-tree-dump-times "foo.0.x._data = 0B;" 1 "original" } }
19 ! { dg-final { scan-tree-dump-times "foo.0.x._vptr = .* &__vtab__STAR;" 1 "original" } }
20 ! { dg-final { cleanup-tree-dump "original" } }