blob: ce3c8b7d5f1a113225f667c529f7a4c70d7b3683 (
plain)
1
2
3
4
5
6
|
//@compile-flags: -Zmiri-retag-fields
// Checks that the test does not run forever (which relies on a fast path).
fn main() {
let array = [(); usize::MAX];
drop(array); // Pass the array to a function, retagging its fields
}
|