Debian Codegraph @

gcc/testsuite/gfortran.dg/allocate_error_3.f90

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