test-suite/bugs/bug_9060.v
raw| 1 | Fixpoint plus (n m : nat) : nat. |
| 2 | Proof. |
| 3 | destruct n. |
| 4 | - exact m. |
| 5 | - exact (S (plus n m)). |
| 6 | Qed. |
| 7 | (* with -async-proofs on: |
| 8 | Recursive definition of plus is ill-formed. |
| 9 | In environment ... |
| 10 | Recursive call to plus has principal argument equal to |
| 11 | "m" instead of a subterm of "m". |
| 12 | Recursive definition is: ... *) |