You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
387 B
25 lines
387 B
! RUN: %S/test_errors.sh %s %t %f18
|
|
! Check that a basic computed goto compiles
|
|
|
|
INTEGER, DIMENSION (2) :: B
|
|
|
|
GOTO (100) 1
|
|
GOTO (100) I
|
|
GOTO (100) I+J
|
|
GOTO (100) B(1)
|
|
|
|
GOTO (100, 200) 1
|
|
GOTO (100, 200) I
|
|
GOTO (100, 200) I+J
|
|
GOTO (100, 200) B(1)
|
|
|
|
GOTO (100, 200, 300) 1
|
|
GOTO (100, 200, 300) I
|
|
GOTO (100, 200, 300) I+J
|
|
GOTO (100, 200, 300) B(1)
|
|
|
|
100 CONTINUE
|
|
200 CONTINUE
|
|
300 CONTINUE
|
|
END
|