We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebec4d6 commit 89bbaf3Copy full SHA for 89bbaf3
flang/test/Semantics/bug122045.f90
@@ -0,0 +1,6 @@
1
+! RUN: %python %S/test_errors.py %s %flang_fc1
2
+! ERROR: Must be a scalar value, but is a rank-1 array
3
+! ERROR: Shape of initialized object 'a' must be constant
4
+complex:: a(n) = SUM([1])
5
+INTEGER, parameter :: n(2) = [2,2]
6
+end
0 commit comments