aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer.sloth
blob: 7d7ca102f4cb15607c6f49513abc2fe809e1e1b9 (plain)
1
2
3
4
5
fn main() Int {
	val x: Int = 0;
	val xPtr: Int = *x;
	val x: Int = @xPtr;
}