aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/opened/HoTT_coq_081.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/opened/HoTT_coq_081.v')
-rw-r--r--test-suite/bugs/opened/HoTT_coq_081.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/opened/HoTT_coq_081.v b/test-suite/bugs/opened/HoTT_coq_081.v
new file mode 100644
index 0000000000..6de3ebdbd4
--- /dev/null
+++ b/test-suite/bugs/opened/HoTT_coq_081.v
@@ -0,0 +1,12 @@
+Set Primitive Projections.
+Set Implicit Arguments.
+Set Universe Polymorphism.
+
+Record category :=
+ { ob :> Type;
+ hom : ob -> ob -> Type
+ }.
+
+Record foo := { C : category; x :> ob C }.
+(* Toplevel input, characters 0-42:
+Error: Cannot find the target class. *)