rust/tests/pass/track-alloc-1.rs
2022-07-08 16:08:32 +00:00

7 lines
290 B
Rust

// Ensure that tracking early allocations doesn't ICE Miri.
// Early allocations are probably part of the runtime and therefore uninteresting, but they
// shouldn't cause a crash.
//@compile-flags: -Zmiri-track-alloc-id=1
//@normalize-stderr-test: "[48] bytes" -> "SIZE bytes"
fn main() {}