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 08:34:29 -05:00
fn main() {
assert_eq!(&mut [0; 1][..], &mut []);
}