Debian Codegraph @

gcc/testsuite/rust/compile/issue-2035.rs

raw
1 fn func(i: i32) {
2 i();
3 // { dg-error "expected function, found .i32. .E0618." "" { target *-*-* } .-1 }
4 }
5
6 fn main() {
7 let i = 0i32;
8 i();
9 // { dg-error "expected function, found .i32. .E0618." "" { target *-*-* } .-1 }
10 }