ableos/hblang/examples/pointers.hb
2024-05-12 11:52:58 +02:00

7 lines
65 B
Plaintext

main := fn(): int {
a := 1;
b := &a;
*b = 2;
return a - 2;
}