summaryrefslogtreecommitdiffstats
path: root/tests/ui/osx-frameworks.rs
blob: 958183ec0d73eea33e81cca48308c663a1535937 (plain)
1
2
3
4
5
6
7
// 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() {}