summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5347.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5347.v')
-rw-r--r--test-suite/bugs/closed/5347.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5347.v b/test-suite/bugs/closed/5347.v
new file mode 100644
index 00000000..9267b3eb
--- /dev/null
+++ b/test-suite/bugs/closed/5347.v
@@ -0,0 +1,10 @@
+Set Universe Polymorphism.
+
+Axiom X : Type.
+(* Used to declare [x0@{u1 u2} : X@{u1}] and [x1@{} : X@{u2}] leaving
+ the type of x1 with undeclared universes. After PR #891 this should
+ error at declaration time. *)
+Axiom x₀ x₁ : X.
+Axiom Xᵢ : X -> Type.
+
+Check Xᵢ x₁. (* conversion test raised anomaly universe undefined *)