about summary refs log tree commit diff
path: root/tests/codegen-llvm/intrinsic-no-unnamed-attr.rs
blob: 4bec579831dc422927019fa51e8533fcdfea31ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ compile-flags: -C no-prepopulate-passes

#![feature(core_intrinsics)]

use std::intrinsics::sqrtf32;

// CHECK: @llvm.sqrt.f32(float) #{{[0-9]*}}

fn main() {
    unsafe {
        sqrtf32(0.0f32);
    }
}