(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
c_assoc_3.f90
! { dg-do compile }
!
! PR fortran/43303
!
! Contributed by Dennis Wassel
!
PROGRAM c_assoc
  use iso_c_binding
  type(c_ptr) :: x
  x = c_null_ptr
  print *, C_ASSOCIATED(x) ! <<< was ICEing here
  if (C_ASSOCIATED(x)) STOP 1
END PROGRAM c_assoc