4307436b99
And fix test cases to make them pass. This is in preparation for starting to pass behavior tests with self-hosted.
7 lines
107 B
Zig
7 lines
107 B
Zig
fn foo(a: []u8) void {}
|
|
|
|
test "address of 0 length array" {
|
|
var pt: [0]u8 = undefined;
|
|
foo(&pt);
|
|
}
|