mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
1bd997a452
Split invalid-compile-flags into run-pass & invalid Update tests/ui/README.md
9 lines
175 B
Rust
9 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;
|
|
}
|