navid/haze / 48ef02229ff0b40a4849e26fc1a9f371991f791d48bb426ffeb35dad068eb87d / 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)
}