summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2627-raw-dylib/raw-dylib-windows-only.rs
blob: d4c6658a33024832816c053fa79ffa0c99f74a24 (plain)
1
2
3
4
5
// ignore-windows
// compile-flags: --crate-type lib
#[link(name = "foo", kind = "raw-dylib")]
//~^ ERROR: link kind `raw-dylib` is only supported on Windows targets
extern "C" {}