PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / associate_30.f90
blobecc9ad06a5620069fbe1b6bbd1220ce06d58808f
1 ! { dg-do compile }
3 ! Test the fix for PR67543
5 ! Contributed by Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de>
7 subroutine s1
8 associate (x => null()) ! { dg-error "cannot be NULL()" }
9 end associate
10 end subroutine