]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/deref_in_pattern.rs
Rollup merge of #63034 - tmandry:reduce-generator-size-regressions, r=cramertj
[rust.git] / src / test / ui / consts / deref_in_pattern.rs
1 // run-pass
2
3 // https://github.com/rust-lang/rust/issues/25574
4
5 const A: [u8; 4] = *b"fooo";
6
7 fn main() {
8     match *b"xxxx" {
9         A => {},
10         _ => {}
11     }
12 }