13 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc12! Test error location when assignment starts with macro expansion.3 4#define X_VAR x5program main6 real(4) :: x7 character(10) :: c8 !ERROR: No intrinsic or user-defined ASSIGNMENT(=) matches operand types REAL(4) and CHARACTER(KIND=1)9 X_VAR = c10 !ERROR: No intrinsic or user-defined ASSIGNMENT(=) matches operand types CHARACTER(KIND=1) and REAL(4)11 c = X_VAR12end13