mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-13 21:26:16 +01:00
test: update cases to silence 'var is never mutated' errors
This commit is contained in:
parent
2c1acb6180
commit
21fa187abc
289 changed files with 671 additions and 489 deletions
|
|
@ -19,7 +19,7 @@ const S2 = struct {
|
|||
|
||||
pub export fn entry2() void {
|
||||
var s: S2 = undefined;
|
||||
_ = s;
|
||||
_ = &s;
|
||||
}
|
||||
|
||||
// error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue