Debian Codegraph @

gcc/testsuite/gfortran.dg/pr95502.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/95502 - ICE in gfc_check_do_variable, at fortran/parse.c:4446
3
4 program p
5 integer, pointer :: z
6 nullify (z%kind) ! { dg-error "in variable definition context" }
7 z%kind => NULL() ! { dg-error "constant expression" }
8 end