summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-62045.rs
blob: 5abed374a6d61111202cf16ed3b94c723d0a5321 (plain)
1
2
3
4
5
// check-pass

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