]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-raw-dylib-windows-gnu.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
[rust.git] / src / test / ui / feature-gates / feature-gate-raw-dylib-windows-gnu.rs
1 // gate-test-raw_dylib
2 // only-windows-gnu
3 #[link(name = "foo", kind = "raw-dylib")]
4 //~^ ERROR: kind="raw-dylib" is unstable
5 //~| WARNING: `#[link(...)]` with `kind = "raw-dylib"` not supported on windows-gnu
6 extern "C" {}
7
8 fn main() {}