From ed6c6e8c39099d39faa3f036ca7f3e0c6359a4aa Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Mon, 28 Oct 2019 14:40:41 +0100 Subject: 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. --- test-suite/bugs/closed/bug_10903.v | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test-suite/bugs/closed/bug_10903.v (limited to 'test-suite') 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. -- cgit v1.2.3