summaryrefslogtreecommitdiff
path: root/test-suite/failure/inductive1.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/failure/inductive1.v')
-rw-r--r--test-suite/failure/inductive1.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/failure/inductive1.v b/test-suite/failure/inductive1.v
new file mode 100644
index 00000000..3b57d919
--- /dev/null
+++ b/test-suite/failure/inductive1.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:Type) (B:Prop) => (prod A B : Prop)).