6 lines
104 B
Rust
6 lines
104 B
Rust
//error-pattern: the evaluated program leaked memory
|
|
|
|
fn main() {
|
|
std::mem::forget(Box::new(42));
|
|
}
|