This commit is contained in:
Adam Millerchip 2021-12-26 23:42:43 +09:00
parent c58d9249fa
commit 84f81a61bd
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ const std = @import("std");
pub fn main() void {
const a: u8 = 12;
const b: *u8 = &a; // fix this!
const b: *const u8 = &a; // fix this!
std.debug.print("a: {}, b: {}\n", .{ a, b.* });
}