test-suite/bugs/bug_17547.v
raw| 1 | (* par! is the easiest way to test UState.union, but it's also used in ssr *) |
| 2 | |
| 3 | Axiom S : SProp. |
| 4 | |
| 5 | Lemma foo : unit. |
| 6 | Proof. |
| 7 | pose (T := fun A => A -> A). |
| 8 | par: pose (K := T S); exact tt. |
| 9 | Qed. |
| 10 | |
| 11 | Lemma bar : unit. |
| 12 | Proof. |
| 13 | pose (T := fun A => A -> A). |
| 14 | assert unit. |
| 15 | 1:pose (X := S). |
| 16 | 2:pose (X := unit). |
| 17 | Fail par: (pose (K := T X); exact tt). |
| 18 | Abort. |