Add ui test for type in uniqueptr expecting named lifetime

This commit is contained in:
David Tolnay 2021-04-02 01:20:12 -04:00
parent 756b5b64f0
commit 16dca756b8
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -0,0 +1,9 @@
#[cxx::bridge]
mod ffi {
unsafe extern "C++" {
type Borrowed<'a>;
fn borrowed() -> UniquePtr<Borrowed>;
}
}
fn main() {}