Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
primitives_take_precedence_over_declarations.zig
pretty
plain
permalink
blame
history
•
9 lines
•
157 B
1
const @"u8" = u16;
2
export fn entry() void {
3
const a: u8 = 300;
4
_ = a;
5
}
6
7
// error
8
//
9
// :3:19: error: type 'u8' cannot represent integer value '300'