summary refs log tree commit diff
path: root/src/tools/miri/tests/pass/track-alloc-1.rs
blob: 427c800dc51d2021cf38b26813b6a183d7e20208 (plain)
1
2
3
4
5
6
// 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() {}