summaryrefslogtreecommitdiffstats
path: root/vendor/cxx/tests/ui/fallible_fnptr.rs
blob: c45813de5065500b743107501cf46c294a618b83 (plain)
1
2
3
4
5
6
7
8
#[cxx::bridge]
mod ffi {
    unsafe extern "C++" {
        fn f(callback: fn() -> Result<()>);
    }
}

fn main() {}