mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
10 lines
236 B
Rust
10 lines
236 B
Rust
// build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
fn main() {
|
|
let _ = &[("", ""); 3];
|
|
}
|
|
|
|
const FOO: &[(&str, &str)] = &[("", ""); 3];
|
|
const BAR: &[(&str, &str); 5] = &[("", ""); 5];
|
|
const BAA: &[[&str; 12]; 11] = &[[""; 12]; 11];
|