tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / deferred_character_30.f90
blob6d9bd5a2d6768872cd6bc2d75418678990c77977
1 ! { dg-do compile }
3 ! Fix a regression introduced by the patch for PR70149.
5 character (:), pointer :: ptr => NULL() ! The NULL () caused an ICE.
6 character (6), target :: tgt = 'lmnopq'
7 ptr => tgt
8 print *, len (ptr), ptr
9 end