1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Check that only labels are allowed in arithmetic if statements.
3 ! TODO: Revisit error message "expected 'ASSIGN'" etc.
4 ! TODO: Revisit error message "expected one of '0123456789'"
6 ! TODO: BUG: Note that labels 500 and 600 do not exist and
7 ! ought to be flagged as errors. This oversight may be the
8 ! result of disabling semantic checking after syntax errors.
10 if ( A
) 500, 600, 600
15 !ERROR: expected 'ASSIGN'
16 !ERROR: expected 'ALLOCATE ('
25 !ERROR: expected one of '0123456789'
31 !ERROR: expected one of '0123456789'