mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
13 lines
276 B
Rust
13 lines
276 B
Rust
// 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();
|
|
}
|