2011-05-02 13:47:41 -07:00
|
|
|
// -*- rust -*-
|
|
|
|
|
|
|
|
// error-pattern: non-predicate
|
|
|
|
|
|
|
|
fn main() {
|
2011-07-27 14:19:39 +02:00
|
|
|
check (1 ==
|
|
|
|
2); // should fail to typecheck, as (a == b)
|
|
|
|
// is not a manifest call
|
|
|
|
|
2011-08-19 15:16:48 -07:00
|
|
|
|
2011-09-02 15:34:58 -07:00
|
|
|
|
2011-09-12 11:27:30 +02:00
|
|
|
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|