// xfail-stage0
// error-pattern:expected fn() but found fn(int)

fn main() {
  fn f() {}
  fn g(int i) {}
  auto x = f == g;
}
Add a test for mismatched types when comparing functions
Add a test for mismatched types when comparing functions
