Debian Codegraph @

gcc/testsuite/gfortran.dg/pr88357_1.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=single" }
3 program p
4 type t
5 end type
6 class(t) :: x[*] ! { dg-error "must be dummy, allocatable or pointer" }
7 associate (y => x)
8 end associate
9 end