aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-13 02:09:29 +0100
committerPierre-Marie Pédrot2018-11-13 02:09:29 +0100
commit4f67c798274b7832cc681303e51e31df6f92ab19 (patch)
tree07b8ea40a41797129d949da4320694ec9465d01c /test-suite
parent1294e1255f3e29609498ba6620c9c8a7010e3003 (diff)
parent9bd403ec1b6cedf0542e193774a7af52b27c0a1b (diff)
Merge PR #8936: Fix #8908: incorrect refresh of algebraic universes.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_8908.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_8908.v b/test-suite/bugs/closed/bug_8908.v
new file mode 100644
index 0000000000..9c85839b75
--- /dev/null
+++ b/test-suite/bugs/closed/bug_8908.v
@@ -0,0 +1,8 @@
+Record foo : Type :=
+ { fooA : Type; fooB : Type }.
+Definition id {A : Type} (a : A) := a.
+Definition untypable : Type.
+ unshelve refine (let X := _ in let Y : _ := ltac:(let ty := type of X in exact ty) in id Y).
+ exact foo.
+ constructor. exact unit. exact unit.
+Defined.