rust/tests/run-make/sanitizer-staticlib-link/program.rs

11 lines
131 B
Rust

#[link(name = "library", kind = "static")]
extern "C" {
fn overflow();
}
fn main() {
unsafe {
overflow();
}
}