aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-09-14 10:27:38 +0200
committerPierre-Marie Pédrot2016-09-14 11:10:25 +0200
commit3e794be5f02ed438cdc5a351d09bdfb54c0be01a (patch)
tree3bbed56609e021f5c560a10037bafdae62e0db14 /test-suite/bugs
parent0e94cb62410354e5df4e65b34e7cbf8451b31d6e (diff)
parent2aaa58c22e37b05e3637ac7161bb464da7db054a (diff)
Merge branch 'v8.5' into v8.6
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/5077.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5077.v b/test-suite/bugs/closed/5077.v
new file mode 100644
index 0000000000..7e7f2c3737
--- /dev/null
+++ b/test-suite/bugs/closed/5077.v
@@ -0,0 +1,8 @@
+(* Testing robustness of typing for a fixpoint with evars in its type *)
+
+Inductive foo (n : nat) : Type := .
+Definition foo_denote {n} (x : foo n) : Type := match x with end.
+
+Definition baz : forall n (x : foo n), foo_denote x.
+refine (fix go n (x : foo n) : foo_denote x := _).
+Abort.