summaryrefslogtreecommitdiffstats
path: root/src/test/ui/linkage-attr/link-cfg-works.rs
blob: 254091ff2508cbe2c58baa4fd72686d32fdcaed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:link-cfg-works-transitive-rlib.rs
// aux-build:link-cfg-works-transitive-dylib.rs

#![feature(link_cfg)]

extern crate link_cfg_works_transitive_dylib;
extern crate link_cfg_works_transitive_rlib;

#[link(name = "foo", cfg(foo))]
extern "C" {}

fn main() {}