diff options
| author | Emilio Jesus Gallego Arias | 2018-10-23 23:12:49 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-10-23 23:12:49 +0200 |
| commit | 3dd46db42776f9be448454b2ddf556663295abd8 (patch) | |
| tree | b26d860afadee6d8935f6367cd3117a175930b42 /test-suite | |
| parent | fac034c9660e3896a8b983ba60c0f5a6f09ee60a (diff) | |
| parent | c76fbecdfe4231ee3e0753c0efe665b1e8a8bba5 (diff) | |
Merge PR #8806: Fixing #8794: anomaly with abbreviation binding both a term and a binder
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_8794.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_8794.v b/test-suite/bugs/closed/bug_8794.v new file mode 100644 index 0000000000..5ff0b30260 --- /dev/null +++ b/test-suite/bugs/closed/bug_8794.v @@ -0,0 +1,11 @@ +(* This used to raise an anomaly in 8.8 *) + +Inductive T := Tau (t : T). + +Notation idT t := (match t with Tau t => Tau t end). + +Lemma match_itree : forall (t : T), t = idT t. +Proof. destruct t; auto. Qed. + +Lemma what (k : unit -> T) : k tt = k tt. +Proof. rewrite match_itree. Abort. |
