rust/tests/run-make-fulldeps/a-b-a-linker-guard/a.rs

9 lines
114 B
Rust
Raw Normal View History

2016-03-24 12:20:08 -05:00
#![crate_name = "a"]
#![crate_type = "dylib"]
#[cfg(x)]
pub fn foo(x: u32) { }
#[cfg(y)]
pub fn foo(x: i32) { }