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:09:07 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 16:09:07 +0330
commite228e7609929763d5acddb728ba543832fcffc6a (patch)
tree9b4ecc4d46bf38e8d20234d631a6d41543daa211 /tests/conformance/3-expressions/dyn_array_const_index_warning.zc
parentmerge: memdebug obj_base via size classes (diff)
parentbounds checking: constant loop bound proof works, plain-op fixed-array check,... (diff)
merge bounds checking
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};