summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-19398.rs
blob: a9d0acaa26f4d84fe2f98c35298ad730e14ffb44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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() {}