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