navid/haze / e24482305c310504b21d230927a8908dc95fad67300644aa064c20311182f86f / samples/baseline_2.1/post_error.hz
post_error.hz
← samples/baseline_2.1 · 114 bytes · raw · download
pure fn bad_double(x i32) i32
: post r => r == x * 2 + 1
=> x * 2
fn main() {
print(bad_double(5))
}