zig/test/behavior/bugs/704.zig
joachimschmidt557 a06e9eca45
stage2 AArch64: add more slice support
* airSlice
* airArrayToSlice
* and initial support for airSlicePtr and co
2022-03-05 11:31:51 +01:00

12 lines
179 B
Zig

const builtin = @import("builtin");
const xxx = struct {
pub fn bar(self: *xxx) void {
_ = self;
}
};
test "bug 704" {
var x: xxx = undefined;
x.bar();
}