summaryrefslogtreecommitdiffstats
path: root/vendor/cxx/tests/ui/unnamed_receiver.rs
blob: 5f53a0a5fe8273f9c14c93154e77278f14789926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cxx::bridge]
mod ffi {
    unsafe extern "C++" {
        type One;
        type Two;
        fn f(&mut self);
    }

    extern "Rust" {
        fn f(self: &Self);
    }
}

fn main() {}