nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_dummy_8.f90
blob0976a72586606b86e2ba1abd2ef5f18225c457d5
1 ! { dg-do compile }
3 ! PR fortran/105379
4 ! Type comparison of class containers used to trigger an ICE when one of the
5 ! class containers had a non-constant array spec.
7 ! Contributed by Gerhard Steinmetz <gscfq@t-online.de>.
9 program p
10 type t
11 end type
12 contains
13 subroutine s1(x)
14 class(t) :: x(3)
15 end
16 subroutine s2(n, x)
17 integer :: n
18 class(t) :: x(n)
19 end
20 end