Debian Codegraph @

gcc/testsuite/gfortran.dg/pr67614.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=legacy" }
3 ! PR fortran/67614
4 !
5 program foo
6 implicit none
7 integer, pointer :: z
8 if (null(z)) 10, 20, 30 ! { dg-error "Invalid NULL" }
9 10 continue
10 20 continue
11 30 continue
12 end program foo