1 ! RUN: %python %S/test_errors.py %s %flang_fc1
5 !ERROR: The accessibility of 'i' has already been specified as PUBLIC
7 !WARNING: The accessibility of 'j' has already been specified as PRIVATE
12 interface operator(.foo
.)
15 public
:: operator(.foo
.)
16 !ERROR: The accessibility of 'OPERATOR(.foo.)' has already been specified as PUBLIC
17 private
:: operator(.foo
.)
22 !ERROR: The accessibility of 'OPERATOR(+)' has already been specified as PUBLIC
23 private
:: operator(+) , ifoo
25 integer function ifoo(x
, y
)
26 logical, intent(in
) :: x
, y
33 private
:: operator(.lt
.)
35 logical function lt(x
, y
)
37 type(t
), intent(in
) :: x
, y
40 !ERROR: The accessibility of 'OPERATOR(<)' has already been specified as PRIVATE
42 interface operator(.gt
.)
43 logical function gt(x
, y
)
45 type(t
), intent(in
) :: x
, y
49 !ERROR: The accessibility of 'OPERATOR(.GT.)' has already been specified as PUBLIC
50 private
:: operator(.gt
.)