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