rust/src/test/run-pass/pred-check.rs
2011-07-27 15:54:33 +02:00

8 lines
111 B
Rust

// -*- rust -*-
// xfail-stage0
pred f(q: int) -> bool { ret true; }
fn main() { let x = 0; check (f(x)); }