#[deny(warnings)]
fn cfg_return() -> i32 {
#[cfg(unix)]
return 1;
#[cfg(not(unix))]
return 2;
}
fn cfg_let_and_return() -> i32 {
let x = 1;
let x = 2;
x
fn main() {
cfg_return();
cfg_let_and_return();