summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4299.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4299.v')
-rw-r--r--test-suite/bugs/closed/4299.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4299.v b/test-suite/bugs/closed/4299.v
new file mode 100644
index 00000000..955c3017
--- /dev/null
+++ b/test-suite/bugs/closed/4299.v
@@ -0,0 +1,12 @@
+Unset Strict Universe Declaration.
+Set Universe Polymorphism.
+
+Module Type Foo.
+ Definition U := Type : Type.
+ Parameter eq : Type = U.
+End Foo.
+
+Module M : Foo with Definition U := Type : Type.
+ Definition U := let X := Type in Type.
+ Definition eq : Type = U := eq_refl.
+Fail End M. \ No newline at end of file