aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bugs/3586.zig
blob: 19527147280af2cd850f993ebcc86d07c039d26d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const builtin = @import("builtin");

const NoteParams = struct {};

const Container = struct {
    params: ?NoteParams,
};

test "fixed" {
    if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO

    var ctr = Container{
        .params = NoteParams{},
    };
    _ = ctr;
}