aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-11-04 15:02:11 +0100
committerGaëtan Gilbert2020-11-16 11:24:56 +0100
commitf09eef2a1c55a1e9a617b7bad0759b4760a8978a (patch)
tree35a7d229335f482714dd7053b1158f3eef2fe871 /test-suite
parent41840f92c0ee8c10691411f2a44e4059a4754456 (diff)
Only lower inductives to Prop if the type is syntactically an arity.
Fix #13300
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_13300.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13300.v b/test-suite/bugs/closed/bug_13300.v
new file mode 100644
index 0000000000..e4fcd6dacc
--- /dev/null
+++ b/test-suite/bugs/closed/bug_13300.v
@@ -0,0 +1,7 @@
+Polymorphic Definition type := Type.
+
+Inductive bad : type := .
+
+Fail Check bad : Prop.
+Check bad : Set.
+(* lowered as much as possible *)