diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-12-07 12:35:30 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-12-07 13:18:05 +1100 |
| commit | 0a48b96859d3d66138082ffad6a1057b54cd55c7 (patch) | |
| tree | 288a97704a5b6b9089eb13eb887868943285f91d /tests/ui/link-native-libs/kind-framework.rs | |
| parent | f884f18151d63ac9ce7e573cadb165ecbe8d7f9b (diff) | |
| download | rust-0a48b96859d3d66138082ffad6a1057b54cd55c7.tar.gz rust-0a48b96859d3d66138082ffad6a1057b54cd55c7.zip | |
Move more tests into `tests/ui/link-native-libs`
Diffstat (limited to 'tests/ui/link-native-libs/kind-framework.rs')
| -rw-r--r-- | tests/ui/link-native-libs/kind-framework.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/link-native-libs/kind-framework.rs b/tests/ui/link-native-libs/kind-framework.rs new file mode 100644 index 00000000000..c2f90809e03 --- /dev/null +++ b/tests/ui/link-native-libs/kind-framework.rs @@ -0,0 +1,7 @@ +//@ ignore-apple this is supposed to succeed on Apple platforms (though it won't necessarily link) + +#[link(name = "foo", kind = "framework")] +extern "C" {} +//~^^ ERROR: link kind `framework` is only supported on Apple targets + +fn main() {} |
