// -*- rust -*- // error-pattern:impure function as operator fn f(q: int) -> bool { ret true; } fn main() { let x = 0; check (f(x)); }