13 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc12! Errors when comparing LOGICAL operands3 4program testCompare5 logical flag1, flag26 if (flag1 .eqv. .false.) continue7 if (flag1 .neqv. flag2) continue8 !ERROR: LOGICAL operands must be compared using .EQV. or .NEQV.9 if (flag1 .eq. .false.) continue10 !ERROR: LOGICAL operands must be compared using .EQV. or .NEQV.11 if (flag1 .ne. flag2) continue12end program testCompare13