summaryrefslogtreecommitdiff
path: root/test-suite/success/univnames.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/success/univnames.v')
-rw-r--r--test-suite/success/univnames.v13
1 files changed, 12 insertions, 1 deletions
diff --git a/test-suite/success/univnames.v b/test-suite/success/univnames.v
index 048b53d2..fe3b8c1d 100644
--- a/test-suite/success/univnames.v
+++ b/test-suite/success/univnames.v
@@ -21,6 +21,17 @@ Inductive bla@{l k} : Type@{k} := blaI : Type@{l} -> bla.
Inductive blacopy@{k l} : Type@{k} := blacopyI : Type@{l} -> blacopy.
+Class Wrap A := wrap : A.
+
+Fail Instance bad@{} : Wrap Type := Type.
+
+Instance bad@{} : Wrap Type.
+Fail Proof Type.
+Abort.
+
+Instance bar@{u} : Wrap@{u} Set. Proof nat.
+
+
Monomorphic Universe g.
-Inductive blacopy'@{l} : Type@{g} := blacopy'I : Type@{l} -> blacopy'. \ No newline at end of file
+Inductive blacopy'@{l} : Type@{g} := blacopy'I : Type@{l} -> blacopy'.