rust/src/test/run-pass/fn-constraint.rs

11 lines
198 B
Rust
Raw Normal View History

use std;
import str::*;
import uint::*;
2012-02-01 05:53:09 -06:00
fn main() unsafe {
2011-07-27 07:19:39 -05:00
let a: uint = 1u;
let b: uint = 4u;
check (le(a, b));
log(debug, str::unsafe::slice_bytes_safe_range("kitties", a, b));
}