blob: 9254c96a1e7a60ac6d75629f9579ae348d42b2fd [file] [log] [blame]
// run-pass
#![allow(incomplete_features)]
#![feature(inline_const)]
fn foo() -> i32 {
const {
let x = 5 + 10;
x / 3
}
}
fn main() {
assert_eq!(5, foo());
}