blob: d8ee3496b90dd93fa17970b5a2dade5f02e8abde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// A simple test, where foo.rs has a dependency
// on the dynamic library simple-dylib.rs. If the test passes,
// dylibs can be built and linked into another file successfully..
//@ aux-crate:bar=simple-dylib.rs
//@ run-pass
extern crate bar;
fn main() {
bar::bar();
}
|