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