rust/src/test/run-pass/constraint-prop-expr-move.rs

13 lines
201 B
Rust
Raw Normal View History

2011-07-09 00:18:23 -05:00
use std;
import str::*;
import uint::*;
2011-07-09 00:18:23 -05:00
fn main() {
2011-07-27 07:19:39 -05:00
let a: uint = 1u;
let b: uint = 4u;
let c: uint = 17u;
check (le(a, b));
c <- a;
log(debug, safe_slice("kitties", c, b));
}