PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / unlimited_polymorphic_7.f90
blob3bd4d4d734072d73fca2c917bdceddb908bda9ba
1 ! { dg-do compile }
3 ! PR fortran/55763
5 ! Contributed by Harald Anlauf
8 module gfcbug121
9 implicit none
10 type myobj
11 class(*), allocatable :: x
12 contains
13 procedure :: print
14 end type myobj
15 contains
16 subroutine print(this)
17 class(myobj) :: this
18 end subroutine print
19 end module gfcbug121