diff options
| author | Hugo Herbelin | 2014-10-20 09:39:28 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2014-10-20 23:29:19 +0200 |
| commit | f00f8482e1d21ef8b03044ed2162cb29d9e4537d (patch) | |
| tree | b49c6d121189c442dd73fea08402ee00a269f0cf /test-suite | |
| parent | 6e0c5c81e9e81c2e5369427643b2ac51b9aa17e6 (diff) | |
Fixing a bug in the presence of let-in in inductive arity.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/Case22.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/Case22.v b/test-suite/success/Case22.v new file mode 100644 index 0000000000..4eb2dbe9f5 --- /dev/null +++ b/test-suite/success/Case22.v @@ -0,0 +1,7 @@ +(* Check typing in the presence of let-in in inductive arity *) + +Inductive I : let a := 1 in a=a -> let b := 2 in Type := C : I (eq_refl). +Lemma a : forall x:I eq_refl, match x in I a b c return b = b with C => eq_refl end = eq_refl. +intro. +match goal with |- ?c => let x := eval cbv in c in change x end. +Abort. |
