1 2 3 4 5 6 7 8 9 10 11 12 13 14
! { dg-do run } ! ! PR fortran/42936 ! ! Contributed by Mat Cross ! PROGRAM PASSES_NULL CALL SUB(NULL()) CONTAINS SUBROUTINE SUB(I) INTEGER, POINTER :: I(:,:,:) IF (ASSOCIATED (I)) CALL ABORT () END SUBROUTINE SUB END PROGRAM PASSES_NULL