mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
13 lines
169 B
Rust
13 lines
169 B
Rust
//@ run-pass
|
|
|
|
// https://github.com/rust-lang/rust/issues/25574
|
|
|
|
const A: [u8; 4] = *b"fooo";
|
|
|
|
fn main() {
|
|
match *b"xxxx" {
|
|
A => {},
|
|
_ => {}
|
|
}
|
|
}
|