diff options
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() {} | 
