]> git.lizzy.rs Git - rust.git/blob - tests/run-make/const_fn_mir/main.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / run-make / const_fn_mir / main.rs
1 // emit-mir
2 // check-pass
3
4 const fn foo() -> i32 {
5     5 + 6
6 }
7
8 fn main() {
9     foo();
10 }