1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
8 !ERROR: The default accessibility of this module has already been declared
13 !ERROR: PUBLIC statement may only appear in the specification part of a module
18 !ERROR: PRIVATE attribute may only appear in the specification part of a module
19 integer, private
:: i
!C817
24 !ERROR: PUBLIC attribute may only appear in the specification part of a module
25 integer, public
:: i
!C817
36 !ERROR: PUBLIC statement may only appear in the specification part of a module
38 !ERROR: PUBLIC attribute may only appear in the specification part of a module
39 real, public
:: x
!C817
41 !ERROR: PRIVATE attribute may only appear in the specification part of a module
42 real, private
:: y
!C817