blob: 6d9bd5a2d6768872cd6bc2d75418678990c77977 [file] [log] [blame]
! { dg-do compile }
!
! Fix a regression introduced by the patch for PR70149.
!
character (:), pointer :: ptr => NULL() ! The NULL () caused an ICE.
character (6), target :: tgt = 'lmnopq'
ptr => tgt
print *, len (ptr), ptr
end