navid/haze / cb1bac46fbd9fca0f0e2a401590740b0840b47821983a25743fc29c1572577d9 / samples/baseline_2.5/cast_void_error.hz
cast_void_error.hz
← samples/baseline_2.5 · 123 bytes · raw · download
// There is no value representation for void.
fn main() {
var x i32 = 1
var y void = cast[void](x)
print(y)
}