diff options
| author | Hugo Herbelin | 2017-10-22 23:50:11 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2017-11-04 14:12:45 +0100 |
| commit | 8c6092e8c43a74a8a175a532580284124c06e34f (patch) | |
| tree | ece4db520837006b2e3bffcc165b7c76a45b1bd1 /test-suite | |
| parent | f281a8a88e8fc7c41cc5680db2443d9da33b47b7 (diff) | |
Adding support for syntax "let _ := e in e'" in Ltac.
Adding a file fixing #5996 and which uses this feature.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/5996.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/5996.v b/test-suite/bugs/5996.v new file mode 100644 index 0000000000..c9e3292b48 --- /dev/null +++ b/test-suite/bugs/5996.v @@ -0,0 +1,8 @@ +Goal Type. + let c := constr:(prod nat nat) in + let c' := (eval pattern nat in c) in + let c' := lazymatch c' with ?f _ => f end in + let c'' := lazymatch c' with fun x : Set => ?f => constr:(forall x : Type, f) end in + let _ := type of c'' in + exact c''. +Defined. |
