about summary refs log tree commit diff
path: root/tests/run-make/sanitizer-staticlib-link/program.rs
blob: 5fac0e739669e1e716b09857f11dcbf226bb2b1e (plain)
1
2
3
4
5
6
7
8
9
10
#[link(name = "library", kind = "static")]
extern "C" {
    fn overflow();
}

fn main() {
    unsafe {
        overflow();
    }
}