Debian Codegraph @

gcc/testsuite/rust/compile/slice_rest_pattern.rs

raw
1 // { dg-options "-fsyntax-only" }
2 fn foo(a: &[u32]) {
3 match a {
4 [first, ..] => {}
5 [.., last] => {}
6 _ => {}
7 }
8 }