suicmez/tests/pointers.sui

6 lines
142 B
Text
Raw Normal View History

2025-12-15 18:20:53 +05:30
# Pointer type test
fn main() -> int do
let x: *int = 0 as *int; # Cast to pointer for now
let y = x; # Should infer *int
42
end