test-suite/bugs/bug_21788.v
raw| 1 | Inductive sTrue : SProp := stt. |
| 2 | Set Primitive Projections. |
| 3 | |
| 4 | Inductive baz := { p : baz }. |
| 5 | Goal forall x, x = {| p := x.(p) |}. |
| 6 | Proof. |
| 7 | intros x. |
| 8 | Fail destruct x. |
| 9 | Abort. |
| 10 | |
| 11 | Record foo := { bar : sTrue }. |
| 12 | Goal forall x y : foo, x = y. |
| 13 | Proof. |
| 14 | intros x y. |
| 15 | Fail destruct x, y. |
| 16 | Abort. |