(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
associate_30.f90
! { dg-do compile }
!
! Test the fix for PR67543
!
! Contributed by Gerhard Steinmetz  <gerhard.steinmetz.fortran@t-online.de>
!
   subroutine s1
      associate (x => null())   ! { dg-error "cannot be NULL()" }
      end associate
   end subroutine