diff options
| author | 2026-10-14 16:06:32 +0330 | |
|---|---|---|
| committer | 2026-10-14 16:06:32 +0330 | |
| commit | aee478adb064fc652061423f800b637fef592176 (patch) | |
| tree | 984dcd7c8a0b7822a466278b1b8f978f70085465 /tests/conformance/3-expressions/dyn_array_const_index_warning.zc | |
| parent | merge: seven self-hosted compiler fixes from conformance (diff) | |
conformance: runtime index errors now end with an 'at <stdin>:N in main' trace line
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.zc | 2 |
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}; |
