diff options
| author | Emilio Jesus Gallego Arias | 2019-12-05 23:38:43 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-12-05 23:38:43 +0100 |
| commit | 0e694678eddaede188335df139ce17d649c013e6 (patch) | |
| tree | 94e9a58fe461603d5befa14543a8789a6907a09e /test-suite | |
| parent | a78165d9fb333f2c50ab5ae52c32507429859c89 (diff) | |
| parent | eff360695af18476bfca0edfdea467cbf9203984 (diff) | |
Merge PR #11241: Unfortunate Coq 8.10 bug with "cofix with" tactic syntax
Reviewed-by: Zimmi48
Reviewed-by: ejgallego
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/RecTutorial.v | 4 | ||||
| -rw-r--r-- | test-suite/success/cofixtac.v | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/test-suite/success/RecTutorial.v b/test-suite/success/RecTutorial.v index 6370cab6b2..4fac798f76 100644 --- a/test-suite/success/RecTutorial.v +++ b/test-suite/success/RecTutorial.v @@ -1210,7 +1210,3 @@ Proof. constructor. trivial. Qed. - - - - diff --git a/test-suite/success/cofixtac.v b/test-suite/success/cofixtac.v new file mode 100644 index 0000000000..ae75ee770f --- /dev/null +++ b/test-suite/success/cofixtac.v @@ -0,0 +1,10 @@ +CoInductive stream := +| C : content -> stream +with content := +| D : nat -> stream -> content. + +Lemma one : stream. +cofix c with (d : content). +- constructor. apply d. +- constructor. exact 1. apply c. +Defined. |
