| 1 |
! { dg-do compile } |
| 2 |
! { dg-options "-fcoarray=lib" } |
| 3 |
! PR fortran/101565 - ICE in gfc_simplify_image_index |
| 4 |
! Contributed by G. Steinmetz |
| 5 |
|
| 6 |
program p |
| 7 |
integer :: x[*] |
| 8 |
print *, image_index (x, [1.0]) ! { dg-error "shall be INTEGER" } |
| 9 |
end |