rust/tests/run-pass/memleak_ignored.rs
2019-12-07 13:44:48 +01:00

6 lines
89 B
Rust

// compile-flags: -Zmiri-ignore-leaks
fn main() {
std::mem::forget(Box::new(42));
}