2012-02-01 03:53:09 -08:00
|
|
|
fn main() unsafe {
|
2012-02-23 16:59:30 +01:00
|
|
|
fn foo(_a: uint, _b: uint) : uint::le(_a, _b) {}
|
2011-07-27 14:19:39 +02:00
|
|
|
let a: uint = 1u;
|
|
|
|
let b: uint = 4u;
|
2012-02-23 16:59:30 +01:00
|
|
|
check uint::le(a, b);
|
2011-07-27 14:19:39 +02:00
|
|
|
let c = b;
|
2012-02-23 16:59:30 +01:00
|
|
|
log(debug, foo(a, c));
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|