1 ! RUN: %python %S/test_errors.py %s %flang_fc1
7 !ERROR: The default accessibility of this module has already been declared
12 !ERROR: PUBLIC statement may only appear in the specification part of a module
17 !ERROR: PRIVATE attribute may only appear in the specification part of a module
18 integer, private
:: i
!C817
23 !ERROR: PUBLIC attribute may only appear in the specification part of a module
24 integer, public
:: i
!C817
35 !ERROR: PUBLIC statement may only appear in the specification part of a module
37 !ERROR: PUBLIC attribute may only appear in the specification part of a module
38 real, public
:: x
!C817
40 !ERROR: PRIVATE attribute may only appear in the specification part of a module
41 real, private
:: y
!C817