summaryrefslogtreecommitdiffstats
path: root/tests/run-make/const_fn_mir/main.rs
blob: e8552bd285a8681a6950afe9409666f502d8c376 (plain)
1
2
3
4
5
6
7
8
9
10
// emit-mir
// check-pass

const fn foo() -> i32 {
    5 + 6
}

fn main() {
    foo();
}