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