rust/src/test/compile-fail/not-a-pred-2.rs
2011-05-14 21:05:22 -04:00

10 lines
183 B
Rust

// -*- rust -*-
// xfail-stage0
// error-pattern: non-predicate
fn main() {
check (1 == 2); // should fail to typecheck, as (a == b)
// is not a manifest call
}