Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/gfortran.dg/default_initialization_6.f90

12 lines
167 B
Fortran

! { dg-do compile }
!
! PR fortran/41600
!
implicit none
type t
integer :: X = -999.0
end type t
class(t), allocatable :: y(:)
allocate (t :: y(1))
end