aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/intrinsic_size_2.f90
blob: 6070bc21b7de5255e86ced5441caba7e1bb176f9 (plain)
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