aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/dyn_array_const_index_warning.zc
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 16:08:34 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 16:08:34 +0330
commit76a4db8ef506e4fb2c3eb530a3d95904a42ca0cb (patch)
tree6cf50f1bd3d5e44d8d0306e7547d072c9822fa27 /tests/conformance/3-expressions/dyn_array_const_index_warning.zc
parentbounds checking: port agent/bounds-checking onto main 0879d0a; unbounded main... (diff)
bounds checking: constant loop bound proof works, plain-op fixed-array check, docs (readme, spec 4.15 and friends, server, vscode), conformance and test.sh fixes, todo
Diffstat (limited to 'tests/conformance/3-expressions/dyn_array_const_index_warning.zc')
-rw-r--r--tests/conformance/3-expressions/dyn_array_const_index_warning.zc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conformance/3-expressions/dyn_array_const_index_warning.zc b/tests/conformance/3-expressions/dyn_array_const_index_warning.zc
index 36890d7..9639128 100644
--- a/tests/conformance/3-expressions/dyn_array_const_index_warning.zc
+++ b/tests/conformance/3-expressions/dyn_array_const_index_warning.zc
@@ -1,4 +1,4 @@
-// expect: zc: line 5: warning: out-of-bounds access: index 2 is outside length 2 (storage declared or allocated on line 4)/zy: index 2 out of range (length 2)/
+// expect: zc: line 5: warning: out-of-bounds access: index 2 is outside length 2 (storage declared or allocated on line 4)/zy: index 2 out of range (length 2)/ at <stdin>:5 in main/
include rt;
fn main() {
int[?] a = {1, 2};