summary refs log tree commit diff
path: root/src/test/run-pass/constraint-prop-move.rs
blob: a07b60799e887250af896beb8d4a824c70860b89 (plain)
1
2
3
4
5
6
7
8
fn main() unsafe {
    fn foo(_a: uint, _b: uint) : uint::le(_a, _b) {}
    let a: uint = 1u;
    let b: uint = 4u;
    check (uint::le(a, b));
    let c <- a;
    log(debug, foo(c, b));
}