3 ! PR 47349: missing warning: Actual argument contains too few elements
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
13 integer :: i(3) = (/ 1,2,3 /)
17 call sub1 (i
) ! { dg-warning "Actual argument contains too few elements" }
18 call sub1 (tt
%j
) ! { dg-warning "Actual argument contains too few elements" }
19 call sub2 (i
) ! { dg-error "Rank mismatch in argument" }
20 call sub2 (tt
%j
) ! { dg-error "Rank mismatch in argument" }
25 integer, dimension(1:3,1:3) :: i
30 integer, dimension(:,:) :: i