aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bugs/12430.zig
blob: cbf1658b1ccf195e54af47ac29342234247a4e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
const std = @import("std");

test {
    const T = comptime b: {
        break :b @Type(.{ .Int = .{
            .signedness = .unsigned,
            .bits = 8,
        } });
    };
    try std.testing.expect(T == u8);
}