diff options
Diffstat (limited to 'tests/ui/linkage-attr/auxiliary/link-cfg-works-transitive-dylib.rs')
-rw-r--r-- | tests/ui/linkage-attr/auxiliary/link-cfg-works-transitive-dylib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/linkage-attr/auxiliary/link-cfg-works-transitive-dylib.rs b/tests/ui/linkage-attr/auxiliary/link-cfg-works-transitive-dylib.rs new file mode 100644 index 000000000..0d927117d --- /dev/null +++ b/tests/ui/linkage-attr/auxiliary/link-cfg-works-transitive-dylib.rs @@ -0,0 +1,4 @@ +#![feature(link_cfg)] + +#[link(name = "foo", cfg(foo))] +extern "C" {} |