view gcc/testsuite/gfortran.dg/intrinsic_size_2.f90 @ 128:fe568345ddd5

fix CbC-example
author mir3636
date Wed, 11 Apr 2018 19:32:28 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { 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