mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
11 lines
213 B
Rust
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!()
|
|
}
|