blob: 31b3aba6bc20422b27433e05eec5d5eb2b3cc020 [file] [log] [blame]
// check-pass
#![feature(slice_patterns)]
fn check(list: &[u8]) {
match list {
&[] => {},
&[_u1, _u2, ref _next @ ..] => {},
&[_u1] => {},
}
}
fn main() {}