2012-08-30 19:13:35 -05:00
|
|
|
// xfail-fast
|
|
|
|
// xfail-test
|
|
|
|
|
|
|
|
// This is xfail'd due to bad spurious typecheck error messages.
|
|
|
|
|
2011-06-25 10:12:31 -05:00
|
|
|
fn main() {
|
2011-07-27 07:19:39 -05:00
|
|
|
fn f() { }
|
2012-08-30 20:57:58 -05:00
|
|
|
fn g() { }
|
2011-07-27 07:19:39 -05:00
|
|
|
let x = f == g;
|
2012-08-30 20:57:58 -05:00
|
|
|
//~^ ERROR mismatched types
|
|
|
|
//~^^ ERROR cannot determine a type
|
2011-08-19 17:16:48 -05:00
|
|
|
}
|