1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Make sure arithmetic if expressions are non-complex numeric exprs.
7 INTEGER, DIMENSION (2) :: B
14 !ERROR: ARITHMETIC IF expression must not be a COMPLEX expression
15 if ( Z
) 101, 201, 301
20 !ERROR: ARITHMETIC IF expression must be a numeric expression
21 if ( L
) 102, 202, 302
26 !ERROR: ARITHMETIC IF expression must be a scalar expression
27 if ( B
) 103, 203, 303