summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-link_llvm_intrinsics.rs
blob: 7391ea94ebc04934278245fe49242878af28d672 (plain)
1
2
3
4
5
6
7
extern "C" {
    #[link_name = "llvm.sqrt.f32"]
    fn sqrt(x: f32) -> f32;
//~^ ERROR linking to LLVM intrinsics is experimental
}

fn main() {}