summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extern/extern-mod-abi.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/extern/extern-mod-abi.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/extern/extern-mod-abi.rs b/src/test/ui/extern/extern-mod-abi.rs
new file mode 100644
index 000000000..c543394cc
--- /dev/null
+++ b/src/test/ui/extern/extern-mod-abi.rs
@@ -0,0 +1,9 @@
+// run-pass
+#![allow(dead_code)]
+// pretty-expanded FIXME #23616
+
+extern "C" {
+ fn pow(x: f64, y: f64) -> f64;
+}
+
+pub fn main() {}