aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/func4.rs
blob: 1b54878c6df3ad3168965ab91c214bb359391afa (plain)
1
2
3
4
5
6
fn func() -> i32 { // { dg-error "mismatched types, expected .i32. but got ...." }
}

fn main() {
    func();
}