third_party_rust_cxx/tests/ui/lifetime_extern_cxx.rs
2020-11-15 19:09:01 -08:00

10 lines
144 B
Rust

#[cxx::bridge]
mod ffi {
extern "C++" {
type Opaque;
unsafe fn f<'a>(&'a self, arg: &str) -> &'a str;
}
}
fn main() {}