summary refs log tree commit diff
path: root/src/test/run-pass/constraint-prop.rs
blob: 6d5808be3d1750c2fd89812f31e50d86c83bc995 (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 = b;
    log(debug, foo(a, c));
}