Add regression test

This commit is contained in:
Oliver Scherer 2019-06-24 15:34:29 +02:00
parent 6b26fdad0a
commit 1140a916f6

View File

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