summaryrefslogtreecommitdiff
path: root/test-suite/failure/inductive2.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/failure/inductive2.v')
-rw-r--r--test-suite/failure/inductive2.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/failure/inductive2.v b/test-suite/failure/inductive2.v
new file mode 100644
index 00000000..b77474be
--- /dev/null
+++ b/test-suite/failure/inductive2.v
@@ -0,0 +1,4 @@
+(* A check that sort-polymorphic product is not set too low *)
+
+Inductive prod (A B:Type) : Type := pair : A -> B -> prod A B.
+Check (fun (A:Prop) (B:Type) => (prod A B : Prop)).