summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-20313-rpass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-20313-rpass.rs')
-rw-r--r--tests/ui/issues/issue-20313-rpass.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-20313-rpass.rs b/tests/ui/issues/issue-20313-rpass.rs
new file mode 100644
index 000000000..591f3659e
--- /dev/null
+++ b/tests/ui/issues/issue-20313-rpass.rs
@@ -0,0 +1,11 @@
+// run-pass
+#![allow(dead_code)]
+// pretty-expanded FIXME #23616
+#![feature(link_llvm_intrinsics)]
+
+extern "C" {
+ #[link_name = "llvm.sqrt.f32"]
+ fn sqrt(x: f32) -> f32;
+}
+
+fn main() {}