aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-10-28 14:40:41 +0100
committerGaëtan Gilbert2019-10-28 14:42:26 +0100
commited6c6e8c39099d39faa3f036ca7f3e0c6359a4aa (patch)
tree4a1f7e473cd326235c31dcbb7197edfa74e8d1bc /test-suite
parentb5d1c31e2d10084935d36a67e0d44b725210b979 (diff)
Fix #10903: type-in-type allows fixpoints on sprop inductives
I still don't know why it produces a Not_found instead of a regular error in coqtop but let's forget about it.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_10903.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_10903.v b/test-suite/bugs/closed/bug_10903.v
new file mode 100644
index 0000000000..3da63dfbb0
--- /dev/null
+++ b/test-suite/bugs/closed/bug_10903.v
@@ -0,0 +1,3 @@
+(* -*- coq-prog-args: ("-type-in-type"); -*- *)
+
+Inductive Ind : SProp := C : Ind -> Ind.