test-suite/bugs/bug_18854.v
raw| 1 | (* -*- mode: coq; coq-prog-args: ("-allow-rewrite-rules") -*- *) |
| 2 | |
| 3 | Symbol raise : forall A, A. |
| 4 | |
| 5 | Rewrite Rule raise_pi := raise (forall (x : ?A), ?B) => fun (x : ?A) => raise ?B. |
| 6 | |
| 7 | Goal (raise (nat -> nat -> Prop) 0 0). |
| 8 | hnf. |
| 9 | Fail progress hnf. |
| 10 | match goal with |- raise Prop => idtac end. |
| 11 | apply raise. |
| 12 | Qed. |