]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/memleak.rs
Rollup merge of #102187 - b-naber:inline-const-source-info, r=eholk
[rust.git] / src / tools / miri / tests / fail / memleak.rs
1 //@error-pattern: the evaluated program leaked memory
2 //@normalize-stderr-test: ".*│.*" -> "$$stripped$$"
3
4 fn main() {
5     std::mem::forget(Box::new(42));
6 }