summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/3735.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/3735.v')
-rw-r--r--test-suite/bugs/closed/3735.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3735.v b/test-suite/bugs/closed/3735.v
new file mode 100644
index 00000000..a50572ac
--- /dev/null
+++ b/test-suite/bugs/closed/3735.v
@@ -0,0 +1,4 @@
+Require Import Coq.Program.Tactics.
+Class Foo := { bar : Type }.
+Fail Lemma foo : Foo -> bar. (* 'Command has indeed failed.' in both 8.4 and trunk *)
+Fail Program Lemma foo : Foo -> bar. \ No newline at end of file