rust/tests/ui/consts/issue-62045.rs
2024-02-16 20:02:50 +00:00

5 lines
72 B
Rust

//@ check-pass
fn main() {
assert_eq!(&mut [0; 1][..], &mut []);
}