blob: 9a6f2d0e8726d7c6a1c7501b6f18c36bb939fa0a [file] [log] [blame]
! { dg-do compile }
! { dg-options "-std=legacy" }
! PR fortran/104571 - ICE in resolve_elemental_actual
! Contributed by G.Steinmetz
program p
real :: x(3)
call g(x) ! { dg-error "Missing alternate return" }
contains
elemental subroutine g(*) ! { dg-error "Alternate return specifier" }
end
end