blob: a3832c2e5888a3c8ef7ca6f3a10e6254b8b45b3d [file] [log] [blame] [edit]
//@ check-pass
fn check(list: &[u8]) {
match list {
&[] => {},
&[_u1, _u2, ref _next @ ..] => {},
&[_u1] => {},
}
}
fn main() {}