summaryrefslogtreecommitdiffstats
path: root/tests/run-make/static-dylib-by-default/bar.rs
blob: 14421165e2da1367b46f3909a606c80239be27c2 (plain)
1
2
3
4
5
6
7
8
#![crate_type = "dylib"]

extern crate foo;

#[no_mangle]
pub extern "C" fn bar() {
    foo::foo();
}