third_party_rust_cxx/tests/ui/lifetime_extern_cxx.rs

10 lines
144 B
Rust
Raw Normal View History

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