rust/tests/pass/track-alloc-1.rs

7 lines
290 B
Rust
Raw Normal View History

// 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.
2022-07-08 11:08:32 -05:00
//@compile-flags: -Zmiri-track-alloc-id=1
//@normalize-stderr-test: "[48] bytes" -> "SIZE bytes"
fn main() {}