use anodized::spec;
#[spec(
requires: x.is_finite(),
ensures: output + output == x,
)]
async fn async_half(x: f32) -> f32 {
todo!()
}
#[test]
fn async_function_compiles() {
let future = async_half(5.0);
fn is_future<T: core::future::Future>(_: &T) {}
is_future(&future);
}