rust/tests/ui/osx-frameworks.rs
2024-02-16 20:02:50 +00:00

8 lines
193 B
Rust

//@ ignore-macos this is supposed to succeed on osx
#[link(name = "foo", kind = "framework")]
extern "C" {}
//~^^ ERROR: link kind `framework` is only supported on Apple targets
fn main() {}