forked from AbleOS/ableos
12 lines
119 B
Plaintext
12 lines
119 B
Plaintext
main := fn(): int {
|
|
a := 1;
|
|
b := &a;
|
|
modify(b);
|
|
return a - 2;
|
|
}
|
|
|
|
modify := fn(a: *int): void {
|
|
*a = 2;
|
|
return;
|
|
}
|