summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5345.v
blob: d8448f35db214140b79d0907e6f83be2479131a6 (plain)
1
2
3
4
5
6
7
Ltac break_tuple :=
  match goal with
  | [ H: context[match ?a with | pair n m => _ end] |- _ ] =>
    let n := fresh n in
    let m := fresh m in
    destruct a as [n m]
  end.