☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
allocate_error_3.f90
☽
☼
gcc/testsuite/gfortran.dg/allocate_error_3.f90
code
plain
raw
1
! { dg-do compile }
2
!
3
! PR 49708: [4.5/4.6/4.7 Regression] ICE with allocate and no dimensions
4
!
5
! Contributed by <
[email protected]
>
6
7
real, pointer :: x(:)
8
allocate(x) ! { dg-error "Array specification required" }
9
end