PR tree-optimization/113673: Avoid load merging when potentially trapping.
[official-gcc.git] / gcc / testsuite / gfortran.dg / nullify_4.f90
blob240110fabf815827747f00ece58df01a5deddf53
1 ! { dg-do compile }
2 ! PR fortran/40246
4 ! Check error recovery; was crashing before.
6 implicit none
7 real, pointer :: ptr
8 nullify(ptr, mesh%coarser) ! { dg-error "Symbol 'mesh' at .1. has no IMPLICIT type" }
9 end