This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
820f322b86
rust
/
tests
/
pass
/
memleak_ignored.rs
6 lines
89 B
Rust
Raw
Normal View
History
Unescape
Escape
Port all tests
2022-07-08 11:08:32 -05:00
//@compile-flags: -Zmiri-ignore-leaks
add flag to ignore memory leaks
2019-12-07 06:44:48 -06:00
fn
main
(
)
{
std
::
mem
::
forget
(
Box
::
new
(
42
)
)
;
}
Reference in New Issue
Copy Permalink