mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
161 B
Rust
11 lines
161 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
#![feature(link_llvm_intrinsics)]
|
|
|
|
extern "C" {
|
|
#[link_name = "llvm.sqrt.f32"]
|
|
fn sqrt(x: f32) -> f32;
|
|
}
|
|
|
|
fn main() {}
|