rust/tests/ui/moves/array-copy-move.rs
reddevilmidzy 1bd997a452 Cleaned up some tests
Split invalid-compile-flags into run-pass & invalid

Update tests/ui/README.md
2025-12-16 02:10:08 +09:00

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;
}