blob: 0483410662bfd1f58a323b6f03f6065eacb24333 [file] [log] [blame]
// build-fail
// compile-flags: -Zmir-opt-level=3
#![feature(inline_const)]
fn foo<T>() {
if false {
const { panic!() } //~ ERROR E0080
}
}
fn main() {
foo::<i32>();
}