mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
10 lines
142 B
Zig
10 lines
142 B
Zig
const xxx = struct {
|
|
pub fn bar(self: *xxx) void {
|
|
_ = self;
|
|
}
|
|
};
|
|
test "bug 704" {
|
|
var x: xxx = undefined;
|
|
x.bar();
|
|
}
|