aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/opened/1615.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/opened/1615.v')
-rw-r--r--test-suite/bugs/opened/1615.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/opened/1615.v b/test-suite/bugs/opened/1615.v
new file mode 100644
index 000000000..282570141
--- /dev/null
+++ b/test-suite/bugs/opened/1615.v
@@ -0,0 +1,12 @@
+Require Import Omega.
+
+Lemma foo : forall n m : Z, (n >= 0)%Z -> (n * m >= 0)%Z -> (n <= n + n * m)%Z.
+Proof.
+ intros. omega.
+Qed.
+
+Lemma foo' : forall n m : nat, n <= n + n * m.
+Proof.
+ intros. Fail omega.
+Abort.
+