rust/src/test/run-pass/constraint-prop-swap.rs
2012-02-03 14:32:23 +01:00

8 lines
176 B
Rust

fn main() unsafe {
let a: uint = 4u;
let b: uint = 1u;
check (uint::le(b, a));
b <-> a;
log(debug, str::unsafe::slice_bytes_safe_range("kitties", a, b));
}