hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / dot_product_4.f90
blobd2fd77335f47d6599c7bf1dabf3caa3b906bcb38
1 ! { dg-do run }
2 ! PR fortran/83998
3 program p
4 integer, parameter :: a(0) = 1
5 real, parameter :: b(0) = 1
6 complex, parameter :: c(0) = 1
7 logical, parameter :: d(0) = .true.
8 if (dot_product(a,a) /= 0) STOP 1
9 if (dot_product(b,b) /= 0) STOP 2
10 if (dot_product(c,c) /= 0) STOP 3
11 if (dot_product(d,d) .neqv. .false.) STOP 4
12 end