xref: /third_party/rust/crates/cxx/tests/ui/async_fn.rs (revision 33d722a9)
1#[cxx::bridge]
2mod ffi {
3    extern "Rust" {
4        async fn f();
5    }
6
7    extern "C++" {
8        async fn g();
9    }
10}
11
12async fn f() {}
13
14fn main() {}
15