// 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) { // CHECK-NOT: load // CHECK-NOT: icmp x.clear() }