summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/HoTT_coq_116.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/HoTT_coq_116.v')
-rw-r--r--test-suite/bugs/closed/HoTT_coq_116.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/HoTT_coq_116.v b/test-suite/bugs/closed/HoTT_coq_116.v
new file mode 100644
index 00000000..d408557d
--- /dev/null
+++ b/test-suite/bugs/closed/HoTT_coq_116.v
@@ -0,0 +1,13 @@
+Set Universe Polymorphism.
+Section foo.
+ Let U := Type.
+ Let U' : Type.
+ Proof.
+ let U' := constr:(Type) in
+ let U_le_U' := constr:(fun x : U => (x : U')) in
+ exact U'.
+ Defined.
+ Inductive t : U' := .
+End foo.
+(* Toplevel input, characters 15-23:
+Error: No such section variable or assumption: U'. *)