Sign in
android
/
toolchain
/
rustc
/
refs/heads/rust-1.73.0
/
.
/
src
/
tools
/
miri
/
tests
/
pass
/
stacked-borrows
/
zst-field-retagging-terminates.rs
blob: 4faf6004ad6fccdd1662a2cd30a9f20869daf026 [
file
] [
log
] [
blame
]
// Checks that the test does not run forever (which relies on a fast path).
#![
allow
(
dropping_copy_types
)]
fn
main
()
{
let
array
=
[();
usize
::
MAX
];
drop
(
array
);
// Pass the array to a function, retagging its fields
}