rust/tests/ui/consts/issue-62045.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
71 B
Rust
Raw Normal View History

// check-pass
2019-06-24 13:34:29 +00:00
fn main() {
assert_eq!(&mut [0; 1][..], &mut []);
}