rust/tests/run-make/sanitizer-staticlib-link/program.rs
2023-03-30 07:34:55 -05:00

11 lines
114 B
Rust

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