rust/tests/ui/lto/dylib-works.rs

10 lines
92 B
Rust

//@ run-pass
//@ aux-build:dylib.rs
extern crate dylib;
fn main() {
dylib::foo(1);
}