Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
assign_too_big_number_to_u16.zig
pretty
plain
permalink
blame
history
•
8 lines
•
157 B
1
export fn foo() void {
2
const vga_mem: u16 = 0xB8000;
3
_ = vga_mem;
4
}
5
6
// error
7
//
8
// :2:26: error: type 'u16' cannot represent integer value '753664'