rust/src/test/compile-fail/not-a-pred-2.rs
2011-09-12 12:49:00 +02:00

15 lines
190 B
Rust

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