mirror of
https://github.com/ziglang/zig.git
synced 2025-12-10 08:13:07 +00:00
12 lines
179 B
Zig
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();
|
|
}
|