summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2627-raw-dylib/link-ordinal-unsupported-link-kind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2627-raw-dylib/link-ordinal-unsupported-link-kind.rs')
-rw-r--r--tests/ui/rfc-2627-raw-dylib/link-ordinal-unsupported-link-kind.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/ui/rfc-2627-raw-dylib/link-ordinal-unsupported-link-kind.rs b/tests/ui/rfc-2627-raw-dylib/link-ordinal-unsupported-link-kind.rs
deleted file mode 100644
index 14e915d60..000000000
--- a/tests/ui/rfc-2627-raw-dylib/link-ordinal-unsupported-link-kind.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-#[link(name = "foo")]
-extern "C" {
- #[link_ordinal(3)]
- //~^ ERROR `#[link_ordinal]` is only supported if link kind is `raw-dylib`
- fn foo();
-}
-
-#[link(name = "bar", kind = "static")]
-extern "C" {
- #[link_ordinal(3)]
- //~^ ERROR `#[link_ordinal]` is only supported if link kind is `raw-dylib`
- fn bar();
-}
-
-fn main() {}