mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 19:47:08 +03:00
a06e9eca45
* airSlice * airArrayToSlice * and initial support for airSlicePtr and co
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();
|
|
}
|