This commit is contained in:
Samuel Webb 2024-07-11 19:57:48 -04:00
parent e8f09190d6
commit 5b51d6f393
46 changed files with 83 additions and 65 deletions

View file

@ -31,7 +31,7 @@ pub fn main() void {
// Please define pointer "p" so that it can point to EITHER foo or
// bar AND change the value it points to!
??? p: ??? = undefined;
var p: *u8 = &foo;
p = &foo;
p.* += 1;