! { dg-do compile } ! ! Test the fix for PR67543 ! ! Contributed by Gerhard Steinmetz ! subroutine s1 associate (x => null()) ! { dg-error "cannot be NULL()" } end associate end subroutine