6 // ignore 32-bit platforms (LLVM has a bug with them)
10 #![crate_type = "lib"]
14 // CHECK-LABEL: @is_empty_1
16 pub fn is_empty_1(xs: Iter<f32>) -> bool {
17 // CHECK-NOT: icmp eq float* {{.*}}, null
21 // CHECK-LABEL: @is_empty_2
23 pub fn is_empty_2(xs: Iter<f32>) -> bool {
24 // CHECK-NOT: icmp eq float* {{.*}}, null
25 xs.map(|&x| x).next().is_none()