mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-04 23:05:00 -04: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();
|
|
}
|