Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / gcc / testsuite / gfortran.dg / logical_dot_product.f90
blob3c6d1c0073f8159f3050412b4f5a4869c3a6e4a3
1 ! { dg-do run }
2 ! Checks the LOGICAL version of dot_product
4 ! Contributed by Paul Thomas <pault@gcc.gnu.org>
6 logical :: l1(4) = (/.TRUE.,.FALSE.,.TRUE.,.FALSE./)
7 logical :: l2(4) = (/.FALSE.,.TRUE.,.FALSE.,.TRUE./)
8 if (dot_product (l1, l2)) STOP 1
9 l2 = .TRUE.
10 if (.not.dot_product (l1, l2)) STOP 2
11 end