Sign in
fuchsia
/
third_party
/
rust
/
445af68c23098596d70b7f9f74b37fcb43146cf5
/
.
/
src
/
test
/
codegen
/
vec-clear.rs
blob: b9ffce8b0cb3d180d269a2aab8587276bb60a08a [
file
] [
log
] [
blame
]
// ignore-debug: the debug assertions get in the way
// compile-flags: -O
#![
crate_type
=
"lib"
]
// CHECK-LABEL: @vec_clear
#[
no_mangle
]
pub
fn
vec_clear
(
x
:
&
mut
Vec
<
u32
>)
{
// CHECK-NOT: load
// CHECK-NOT: icmp
x
.
clear
()
}