blob: da64692d27d92fd46f65df77de5253361e3f54c6 [file] [log] [blame]
// compile-flags: -O
// min-llvm-version: 16.0
#![crate_type = "lib"]
pub fn foo(t: &mut Vec<usize>) {
// CHECK-NOT: __rust_dealloc
let mut taken = std::mem::take(t);
taken.pop();
*t = taken;
}