8 lines
175 B
Rust
8 lines
175 B
Rust
//! regression test for issue https://github.com/rust-lang/rust/issues/16783
|
|
//@ run-pass
|
|
#![allow(unused_variables)]
|
|
|
|
pub fn main() {
|
|
let x = [1, 2, 3];
|
|
let y = x;
|
|
}
|