blob: d6b06719277eb534688e638014d3d3c1e1f5b374 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// run-pass
// needs-sanitizer-cfi
// compile-flags: -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
// no-prefer-dynamic
// only-x86_64-unknown-linux-gnu
#![feature(allocator_api)]
fn main() {
let _ = Box::new_in(&[0, 1], &std::alloc::Global);
}
|