blob: 3ed8b2088da8b2dcd26ebf9211b2d43bdb0078cb [file] [log] [blame]
! { dg-do compile }
! PR fortran/103694 - ICE in gfc_conv_expr_op
! Contributed by G.Steinmetz
subroutine s
type t
integer :: a(2)
end type
type(t) :: x((0.)/0)
integer :: n = size(x(1)%a) ! { dg-error "does not reduce to a constant expression" }
end