aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorJasper Hugunin2020-08-26 07:38:53 -0700
committerJasper Hugunin2020-08-26 07:38:53 -0700
commit179a23ad345c6d0753bbb1771fc01f402dc1cb33 (patch)
tree8dcb1469b398c7c92d6c4ab2b78947c69b5b82e5 /test-suite
parent4e6b029805a74ea16166da2c5f59f9669fd34eb8 (diff)
Modify lia to work with -mangle-names
We used to be refreshing the names for intros but not using the refreshed names. The same pattern of `intro_using` (which is what `intros ?name` effectively is) messing things up as in coq/coq#12881.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_12907.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_12907.v b/test-suite/bugs/closed/bug_12907.v
new file mode 100644
index 0000000000..4cd79cc1af
--- /dev/null
+++ b/test-suite/bugs/closed/bug_12907.v
@@ -0,0 +1,7 @@
+From Coq Require Export Lia.
+Set Mangle Names.
+Lemma test (n : nat) : n <= 10 -> n <= 20.
+Proof. lia. Qed.
+
+Lemma test2 : 0 < 1.
+Proof. lia. Qed.