Skip to content
Permalink
Browse files

Add regression test

  • Loading branch information...
oli-obk committed Jun 24, 2019
1 parent 6b26fda commit 1140a916f6c6cb1bd863bdbe7a0582f417485673
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/test/ui/consts/issue-62045.rs
@@ -0,0 +1,6 @@
// compile-pass

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

0 comments on commit 1140a91

Please sign in to comment.
You can’t perform that action at this time.