PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_31.f90
blobeddf13f1beae498be3c5fa8b5535ad4ada02dd66
1 ! { dg-do compile }
3 ! PR fortran/46413
5 type t
6 integer :: ii =5
7 end type t
8 class(t), allocatable :: x
9 allocate (t :: x)
11 print *,x ! { dg-error "Data transfer element at .1. cannot be polymorphic" }
12 end