Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / gfortran.dg / intrinsic_size_2.f90
blob6070bc21b7de5255e86ced5441caba7e1bb176f9
1 ! { dg-do compile }
3 ! PR fortran/51904
5 ! Contributed by David Sagan.
8 call qp_draw_polyline_basic([1.0,2.0])
9 contains
10 subroutine qp_draw_polyline_basic (x)
11 implicit none
12 real :: x(:), f
13 integer :: i
14 f = 0
15 print *, size(f*x)
16 end subroutine
17 end