summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/rustdoc-extern-method.rs
blob: e493048d9da34d029595667ba76acaeeccf193ca (plain)
1
2
3
4
5
6
7
#![crate_type="lib"]
#![feature(unboxed_closures)]

pub trait Foo {
    extern "rust-call" fn foo(&self, _: ()) -> i32;
    extern "rust-call" fn foo_(&self, _: ()) -> i32 { 0 }
}