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

13 lines
204 B
Rust
Raw Normal View History

2011-07-09 00:18:23 -05:00
use std;
import std::str::*;
2011-07-09 00:18:23 -05:00
import std::uint::*;
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;
2011-08-31 17:23:34 -05:00
log safe_slice(~"kitties", c, b);
}