tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr91785.f90
blobfb3d964fc068b94f47a7628674efd67812d5cc46
1 ! { dg-do compile }
2 ! PR fortran/91785
3 ! Code contributed by Gerhard Steinmetz
4 program p
5 complex :: a(*) ! { dg-error "Assumed size array at" }
6 real :: b(2)
7 b = a%im ! { dg-error "upper bound in the last dimension" }
8 end