mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-09 00:17:44 +00:00
14 lines
209 B
Rust
14 lines
209 B
Rust
//@ 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);
|
|
}
|
|
}
|