program main implicit none integer i, x(3) x = 999 do i = 1, 5 print *, x(i) ! 配列の範囲外 x(4), x(5) を参照している。 end do end program