1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! C1107 -- COMMON, EQUIVALENCE, INTENT, NAMELIST, OPTIONAL, VALUE or
3 ! STATEMENT FUNCTIONS not allow in specification part
8 !ERROR: COMMON statement is not allowed in a BLOCK construct
18 !ERROR: EQUIVALENCE statement is not allowed in a BLOCK construct
23 subroutine s3_c1107(x_in
, x_out
)
27 !ERROR: INTENT statement is not allowed in a BLOCK construct
35 !ERROR: NAMELIST statement is not allowed in a BLOCK construct
40 subroutine s5_c1107(x
,y
)
44 !ERROR: VALUE statement is not allowed in a BLOCK construct
49 subroutine s6_c1107(x
, y
)
53 !ERROR: OPTIONAL statement is not allowed in a BLOCK construct
62 !ERROR: A statement function definition may not appear in a BLOCK construct