rustc/tests/run-make/sanitizer-dylib-link/program.rs
2024-06-19 10:24:51 +02:00

10 lines
203 B
Rust

#[cfg_attr(windows, link(name = "library.dll.lib", modifiers = "+verbatim"))]
#[cfg_attr(not(windows), link(name = "library"))]
extern "C" {
fn overflow();
}
fn main() {
unsafe { overflow() }
}