1 ! RUN: %python %S/test_errors.py %s %flang_fc1
17 !ERROR: Distinct default component initializations of equivalenced objects affect 'x1a%m' more than once
19 !ERROR: Distinct default component initializations of equivalenced objects affect 'x2a%n' more than once
21 !ERROR: Distinct default component initializations of equivalenced objects affect 'x3%k' more than once
23 !ERROR: Explicit initializations of equivalenced objects affect 'ja(2_8)' more than once
24 !ERROR: Explicit initializations of equivalenced objects affect 'ka(1_8)' more than once
25 integer :: ja(2), ka(2)
28 equivalence(x1a
, x2a
, x3
)
29 ! Same value: no error
33 equivalence(ja(2),ka(1))