7 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc12! ERROR: Must be a scalar value, but is a rank-1 array3! ERROR: Shape of initialized object 'a' must be constant4complex:: a(n) = SUM([1])5INTEGER, parameter :: n(2) = [2,2]6end7 1! RUN: %python %S/test_errors.py %s %flang_fc12! ERROR: Must be a scalar value, but is a rank-1 array3! ERROR: Shape of initialized object 'a' must be constant4complex:: a(n) = SUM([1])5INTEGER, parameter :: n(2) = [2,2]6end7