rust/tests/ui/imports/simple-dylib-import.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
276 B
Rust
Raw Normal View History

2024-05-28 09:58:01 -05:00
// 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
2024-05-28 09:58:01 -05:00
//@ run-pass
extern crate bar;
fn main() {
bar::bar();
}