nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_71.f90
blobbc0ffcd2305b47272d2b437be52e9e80622d5078
1 ! { dg-do compile }
3 ! PR fortran/91586
5 ! Contributed by G. Steinmetz
7 program p
8 type t
9 class(*), allocatable :: a
10 end type
11 class(t) :: x, y ! { dg-error "must be dummy, allocatable or pointer" }
12 y = x ! { dg-error "Nonallocatable variable must not be polymorphic in intrinsic assignment" }
13 end