aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-11-07 15:25:59 +0100
committerGaëtan Gilbert2018-11-12 09:58:39 +0100
commit9bd403ec1b6cedf0542e193774a7af52b27c0a1b (patch)
treef486e4f160724b17d1843755ae86fc0125ff192f /test-suite
parent186d67228018a84a93de024971356249ddbde668 (diff)
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.