pub export fn entry1() void {
    const T = @TypeOf(.{ 123, 3 });
    var b = T{ .@"1" = 3 }; _ = b;
    var c = T{ 123, 3 }; _ = c;
    var d = T{}; _ = d;
}
pub export fn entry2() void {
    var a: u32 = 2;
    const T = @TypeOf(.{ 123, a });
    var b = T{ .@"1" = 3 }; _ = b;
    var c = T{ 123, 3 }; _ = c;
    var d = T{}; _ = d;
}
pub export fn entry3() void {
    var a: u32 = 2;
    const T = @TypeOf(.{ 123, a });
    var b = T{ .@"0" = 123 }; _ = b;
}
comptime {
    var a: u32 = 2;
    const T = @TypeOf(.{ 123, a });
    var b = T{ .@"0" = 123 }; _ = b;
    var c = T{ 123, 2 }; _ = c;
    var d = T{}; _ = d;
}
pub export fn entry4() void {
    var a: u32 = 2;
    const T = @TypeOf(.{ 123, a });
    var b = T{ 123, 4, 5 }; _ = b;
}
pub export fn entry5() void {
    var a: u32 = 2;
    const T = @TypeOf(.{ 123, a });
    var b = T{ .@"0" = 123, .@"2" = 123, .@"1" = 123 }; _ = b;
}

// error
// backend=stage2
// target=native
//
// :12:14: error: missing tuple field with index 1
// :17:14: error: missing tuple field with index 1
// :29:14: error: expected at most 2 tuple fields; found 3
// :34:30: error: index '2' out of bounds of tuple 'tuple{comptime comptime_int = 123, u32}'
