1 ! RUN: %S/test_errors.sh %s %t %flang -flogical-abbreviations -fxor-operator
4 ! Like m4 in resolve63 but compiled with different options.
5 ! Alternate operators are enabled so treat these as intrinsic.
11 !ERROR: Operands of .AND. must be LOGICAL; have REAL(4) and REAL(4)
13 !ERROR: Operands of .OR. must be LOGICAL; have REAL(4) and REAL(4)
15 !ERROR: Operand of .NOT. must be LOGICAL; have REAL(4)
17 !ERROR: Operands of .NEQV. must be LOGICAL; have REAL(4) and REAL(4)
19 !ERROR: Operands of .NEQV. must be LOGICAL; have REAL(4) and REAL(4)
24 ! Like m4 in resolve63 but compiled with different options.
25 ! Alternate operators are enabled so treat .A. as .AND.
27 interface operator(.A
.)
28 logical function f1(x
, y
)
29 integer, intent(in
) :: x
, y
32 interface operator(.and
.)
33 logical function f2(x
, y
)
34 real, intent(in
) :: x
, y
38 subroutine s1(x
, y
, z
)
41 !ERROR: No intrinsic or user-defined OPERATOR(.A.) matches operand types COMPLEX(4) and COMPLEX(4)
43 !ERROR: No intrinsic or user-defined OPERATOR(.A.) matches operand types COMPLEX(4) and COMPLEX(4)