summaryrefslogtreecommitdiffstats
path: root/tests/run-make/a-b-a-linker-guard/a.rs
blob: aa07b1e71607cf3bfe417fe97d3d1a0fe99bd865 (plain)
1
2
3
4
5
6
7
8
#![crate_name = "a"]
#![crate_type = "dylib"]

#[cfg(x)]
pub fn foo(x: u32) { }

#[cfg(y)]
pub fn foo(x: i32) { }