blob: 40900a36bece4a219417a29cd727692e52f33a3f [file] [log] [blame]
fn main() {
let x = (1, 2, 3, 4);
match x {
(1, .., 2, 3, 4, 5) => {}, // { dg-error "expected a tuple with 4 elements, found one with 5 elements" }
_ => {}
}
}