rust/tests/crashes/130921.rs
2024-09-29 11:58:09 +02:00

11 lines
213 B
Rust

//@ known-bug: #130921
//@ compile-flags: -Zvalidate-mir -Copt-level=0 --crate-type lib
pub fn hello() -> [impl Sized; 2] {
if false {
let x = hello();
let _: &[i32] = &x;
}
todo!()
}