☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
realloc_on_assign_24.f90
☽
☼
gcc/testsuite/gfortran.dg/realloc_on_assign_24.f90
code
plain
raw
1
! { dg-do compile }
2
! PR 62142 - this used to segfault
3
! Original test case by Ondřej Čertík .
4
program test_segfault
5
implicit none
6
real, allocatable :: X(:)
7
allocate (x(1))
8
x = 1.
9
X = floor(X)
10
end program