parent
152db27146
commit
4b7e285b76
|
@ -24,6 +24,7 @@ comptime {
|
|||
_ = @import("behavior/bugs/421.zig");
|
||||
_ = @import("behavior/bugs/655.zig");
|
||||
_ = @import("behavior/bugs/656.zig");
|
||||
_ = @import("behavior/bugs/704.zig");
|
||||
_ = @import("behavior/bugs/726.zig");
|
||||
_ = @import("behavior/bugs/828.zig");
|
||||
_ = @import("behavior/bugs/920.zig");
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
const xxx = struct {
|
||||
pub fn bar(self: *xxx) void {}
|
||||
};
|
||||
test "bug 704" {
|
||||
var x: xxx = undefined;
|
||||
x.bar();
|
||||
}
|
Loading…
Reference in New Issue