Files
2026-03-17 17:39:59 +08:00

13 lines
223 B
Rust

//@ build-fail
//@ compile-flags: -Zmir-opt-level=3
//@ ignore-parallel-frontend post-monomorphization errors
fn foo<T>() {
if false {
const { panic!() } //~ ERROR E0080
}
}
fn main() {
foo::<i32>();
}