rust/tests/run-make/const_fn_mir/main.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
89 B
Rust
Raw Normal View History

// emit-mir
// check-pass
const fn foo() -> i32 {
5 + 6
}
fn main() {
foo();
}