]> git.lizzy.rs Git - rust.git/blob - src/test/ui/link-cfg-works.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / link-cfg-works.rs
1 // run-pass
2 // aux-build:link-cfg-works-transitive-rlib.rs
3 // aux-build:link-cfg-works-transitive-dylib.rs
4
5 #![feature(link_cfg)]
6
7 extern crate link_cfg_works_transitive_rlib;
8 extern crate link_cfg_works_transitive_dylib;
9
10 #[link(name = "foo", cfg(foo))]
11 extern {}
12
13 fn main() {}