mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
Add regression test
This commit is contained in:
parent
6b26fdad0a
commit
1140a916f6
6
src/test/ui/consts/issue-62045.rs
Normal file
6
src/test/ui/consts/issue-62045.rs
Normal file
@ -0,0 +1,6 @@
|
||||
// compile-pass
|
||||
|
||||
fn main() {
|
||||
assert_eq!(&mut [0; 1][..], &mut []);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user