rust/src/test/compile-fail/not-a-pred-2.rs
2011-07-27 15:54:33 +02:00

10 lines
185 B
Rust

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