PR rtl-optimization/82913
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / pr43390.f90
blobb54eef99f243f6702754fa60c281736f957f3515
1 logical :: l1(4)
2 logical :: l2(4)
3 l1 = (/.TRUE.,.FALSE.,.TRUE.,.FALSE./)
4 l2 = (/.FALSE.,.TRUE.,.FALSE.,.TRUE./)
5 if (dot_product (l1, l2)) call abort ()
6 l2 = .TRUE.
7 if (.not.dot_product (l1, l2)) call abort ()
8 end