test-suite/bugs/bug_18490.v
raw| 1 | Definition plus' := plus. |
| 2 | |
| 3 | Definition foo := Eval simpl in plus' 1 2. |
| 4 | |
| 5 | Arguments plus : simpl never. |
| 6 | |
| 7 | Lemma test P : P 3 -> P (plus' 1 2). |
| 8 | Proof. |
| 9 | intros p3. |
| 10 | simpl. |
| 11 | match goal with |- P (plus' 1 2) => idtac end. |
| 12 | (* the order of "Eval simpl" and "Arguments" above resulted in |
| 13 | incorrect cache and the goal was reduced *) |
| 14 | Abort. |