This commit is contained in:
parent
c58d9249fa
commit
84f81a61bd
|
@ -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.* });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue