3 ! PR 57285: [OOP] ICE on invalid: "gfc_array_dimen_size(): Bad dimension" due to SIZE intrinsic with invalid dim on CLASS dummy
5 ! Contributed by Lorenz Hüdepohl <bugs@stellardeath.org>
11 class(type_t
), intent(in
) :: a(:)
12 type(type_t
) :: c(size(a
,dim
=2)) ! { dg-error "is not a valid dimension index" }