Match: Support more form for scalar unsigned SAT_ADD
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr70853.f90
blob9ae44ccb8235651b3725638e6d3d62547ed1aa60
1 ! { dg-do compile }
2 ! PR fortran/70853
3 ! Contributed by Gerhard Steinmetz
4 program p
5 real, pointer :: z(:)
6 z(1:2) => null() ! { dg-error "pointer target shall not be NULL" }
7 z(2:1) => null() ! { dg-error "pointer target shall not be NULL" }
8 end