1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
3 ! C1107 -- COMMON, EQUIVALENCE, INTENT, NAMELIST, OPTIONAL, VALUE or
4 ! STATEMENT FUNCTIONS not allow in specification part
9 !ERROR: COMMON statement is not allowed in a BLOCK construct
19 !ERROR: EQUIVALENCE statement is not allowed in a BLOCK construct
24 subroutine s3_c1107(x_in
, x_out
)
28 !ERROR: INTENT statement is not allowed in a BLOCK construct
36 !ERROR: NAMELIST statement is not allowed in a BLOCK construct
41 subroutine s5_c1107(x
,y
)
45 !ERROR: VALUE statement is not allowed in a BLOCK construct
50 subroutine s6_c1107(x
, y
)
54 !ERROR: OPTIONAL statement is not allowed in a BLOCK construct
63 !ERROR: STATEMENT FUNCTION statement is not allowed in a BLOCK construct