1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
! { dg-do compile } ! ! PR fortran/51904 ! ! Contributed by David Sagan. ! call qp_draw_polyline_basic([1.0,2.0]) contains subroutine qp_draw_polyline_basic (x) implicit none real :: x(:), f integer :: i f = 0 print *, size(f*x) end subroutine end