wip
1#![no_std]
2
3use futures_compat::LocalWaker;
4use futures_derive::async_function;
5
6async fn evil() {}
7
8#[async_function]
9fn inner(a: i32, b: &i32) -> i32 {
10 // evil().await;
11 1
12}
13
14#[async_function]
15fn test(a: i32, b: &i32) -> i32 {
16 futures_derive::async_block! { let _ = 1 + *b; 2 }.await
17}
18
19// fn test2<'a>(a: i32) {}