Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / intrinsic_dprod.f90
blobfeb3367934b00559213637cfa24f88d9c52b403e
1 ! Program to test DPROD intrinsic
2 program intrinsic_dprod
3 implicit none
4 real r, s, t
5 double precision dp
7 ! 6d60 doesn't fit in a 4-byte real
8 r = 2e30
9 s = 4e30
10 dp = dprod (r, s)
11 if ((dp .gt. 8.001d60) .or. (dp .lt. 7.999d60)) call abort
12 end program