mirror of
https://github.com/ziglang/zig.git
synced 2026-01-25 08:47:55 +00:00
14 lines
254 B
Zig
14 lines
254 B
Zig
const builtin = @import("builtin");
|
|
|
|
const xxx = struct {
|
|
pub fn bar(self: *xxx) void {
|
|
_ = self;
|
|
}
|
|
};
|
|
test "bug 704" {
|
|
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
|
|
|
|
var x: xxx = undefined;
|
|
x.bar();
|
|
}
|