6 integer :: ivar1(2,3), ivar2
9 call poly_sizeof(ivar1
, ivar2
)
11 if (ivar2
/= 4) STOP 1
15 subroutine poly_sizeof(arg1
,arg2
)
16 class(*), intent(in
) :: arg1(:,:)
17 integer, intent(out
) :: arg2
18 arg2
= sizeof(arg1(1,1))
21 end program test_stuff