rust/src/test/ui/issues/issue-19398.rs
2019-07-03 06:30:28 +09:00

13 lines
211 B
Rust

// build-pass (FIXME(62277): could be check-pass?)
// pretty-expanded FIXME #23616
trait T {
unsafe extern "Rust" fn foo(&self);
}
impl T for () {
unsafe extern "Rust" fn foo(&self) {}
}
fn main() {}