rust/tests/ui/consts/issue-62045.rs
2023-01-11 09:32:08 +00:00

6 lines
71 B
Rust

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