summaryrefslogtreecommitdiffstats
path: root/src/test/ui/using-target-feature-unstable.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/using-target-feature-unstable.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/using-target-feature-unstable.rs b/src/test/ui/using-target-feature-unstable.rs
new file mode 100644
index 000000000..c5da45c08
--- /dev/null
+++ b/src/test/ui/using-target-feature-unstable.rs
@@ -0,0 +1,11 @@
+// run-pass
+// only-x86_64
+// aux-build:using-target-feature-unstable.rs
+
+extern crate using_target_feature_unstable;
+
+fn main() {
+ unsafe {
+ using_target_feature_unstable::foo();
+ }
+}