summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-10969.rs
blob: 0b78fc1bb7fa2171e9410add6c211514ea7e9841 (plain)
1
2
3
4
5
6
7
fn func(i: i32) {
    i(); //~ERROR expected function, found `i32`
}
fn main() {
    let i = 0i32;
    i(); //~ERROR expected function, found `i32`
}