mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:02:09 +01:00
15 lines
168 B
Rust
15 lines
168 B
Rust
#![crate_type="rlib"]
|
|
|
|
#[cfg(rpass1)]
|
|
pub fn function0(x: u32) -> u32 {
|
|
x
|
|
}
|
|
|
|
#[cfg(rpass2)]
|
|
pub fn function0(x: i32) -> i32 {
|
|
x
|
|
}
|
|
|
|
pub fn function1(x: u32) {
|
|
}
|