2010-07-08 09:33:25 -05:00
|
|
|
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2011-12-22 16:42:52 -06:00
|
|
|
fn foo(x: int) { log_full(core::debug, x); }
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { let x: int; if 1 > 2 { x = 12; } else { x = 10; } foo(x); }
|