summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-03-29 18:00:34 -0700
committerGitHub <noreply@github.com>2023-03-29 18:00:34 -0700
commitaf062bff8f670de6a0c4fe7be797487ba124d811 (patch)
tree492f8ef0ed80842489d901de4f85573d712f6948 /tests
parent082c48d96c5f8f6b4f560d705fe731da14409cb4 (diff)
Fix IRArrayType emit logic. (#2754)
* Fix IRArrayType emit logic. * Fix test. * Fix ast constant folding. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/diagnostics/gh-1374.slang.expected3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/diagnostics/gh-1374.slang.expected b/tests/diagnostics/gh-1374.slang.expected
index f1ae007b5..aafdc409f 100644
--- a/tests/diagnostics/gh-1374.slang.expected
+++ b/tests/diagnostics/gh-1374.slang.expected
@@ -9,6 +9,9 @@ tests/diagnostics/gh-1374.slang(11): error 39999: the initial-value expression f
tests/diagnostics/gh-1374.slang(14): error 39999: the initial-value expression for variable 'kB' depends on the value of the variable itself
static const int kB = kA;
^~
+tests/diagnostics/gh-1374.slang(13): error 39999: the initial-value expression for variable 'kA' depends on the value of the variable itself
+ static const int kA = kB;
+ ^~
}
standard output = {
}