1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Check that computed goto express must be a scalar integer expression
3 ! TODO: PGI, for example, accepts a float & converts the value to int.
8 INTEGER, DIMENSION (2) :: B
10 !ERROR: Must have INTEGER type, but is REAL(4)
12 !ERROR: Must have INTEGER type, but is LOGICAL(4)
14 !ERROR: Must have INTEGER type, but is REAL(4)
16 !ERROR: Must have INTEGER type, but is COMPLEX(4)
18 !ERROR: Must be a scalar value, but is a rank-1 array