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