aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-02-04 12:21:13 +0100
committerPierre-Marie Pédrot2019-02-04 12:21:13 +0100
commit2de5a4b0d4c7ca5c21b2aae44844019f9fbe4e81 (patch)
tree492467ca46caa14309c7afa5bf878bc57aae598d /test-suite
parent6adc5763894fe6da025fd46f5b879af4cc7e99ec (diff)
parent34f8872ba83aa5e91d73a80034b4c58db25dbbf7 (diff)
Merge PR #9454: Fix off-by-one error in nat syntax warnings
Reviewed-by: ppedrot
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_9453.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_9453.v b/test-suite/bugs/closed/bug_9453.v
new file mode 100644
index 0000000000..18745533b2
--- /dev/null
+++ b/test-suite/bugs/closed/bug_9453.v
@@ -0,0 +1,7 @@
+(* check compatibility with 8.8 and earlier for lack of warnings on the nat 5000 *)
+Set Warnings Append "+large-nat,+abstract-large-number".
+Fail Check 5001.
+Check 5000.
+(* Error:
+To avoid stack overflow, large numbers in nat are interpreted as applications of
+Nat.of_uint. *)