blob: 473e43650c2c563440873b89e8538ac9d63bc917 [file]
//@ check-pass
trait T {
unsafe extern "Rust" fn foo(&self);
}
impl T for () {
unsafe extern "Rust" fn foo(&self) {}
}
fn main() {}