aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/5713.v
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-09-03 21:04:12 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-09-03 21:10:03 +0200
commit5241a3f69a0ff8c9d33a02d1cf3ebc7bcead8819 (patch)
tree9d54ef73fcea4c4aa61be4525ba75f6ec588b31d /test-suite/bugs/closed/5713.v
parent3072bd9d080984833f5eb007bf15c6e9305619e3 (diff)
Addressing BZ#5713 (classical_left/classical_right artificially restricted).
As explained in BZ#5713 report, the requirement for a non-empty context is not needed, so we remove it.
Diffstat (limited to 'test-suite/bugs/closed/5713.v')
-rw-r--r--test-suite/bugs/closed/5713.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5713.v b/test-suite/bugs/closed/5713.v
new file mode 100644
index 000000000..9daf9647f
--- /dev/null
+++ b/test-suite/bugs/closed/5713.v
@@ -0,0 +1,15 @@
+(* Checking that classical_right/classical_left work in an empty context *)
+
+Require Import Classical.
+
+Parameter A:Prop.
+
+Goal A \/ ~A.
+classical_right.
+assumption.
+Qed.
+
+Goal ~A \/ A.
+classical_left.
+assumption.
+Qed.