8 lines
127 B
Rust
8 lines
127 B
Rust
|
// xfail-stage0
|
||
|
// error-pattern:expected fn() but found fn(int)
|
||
|
|
||
|
fn main() {
|
||
|
fn f() {}
|
||
|
fn g(int i) {}
|
||
|
auto x = f == g;
|
||
|
}
|