gcc/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/alloc1.f90
2021-07-09 15:36:20 +02:00

6 lines
141 B
Fortran

program test_allocated
integer :: i = 4
real(4), allocatable :: x(:)
if (.not. allocated(x)) allocate(x(i))
end program test_allocated