summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-05-02 17:06:38 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-05-02 17:06:38 (GMT)
commit60ba166da0bc91417a234865af682e26ce85c368 (patch)
treec32d2d89db35020114817c812d9fb520779ba321 /tests
parent03d0f99e6ccaa554c9e7a7e3c9f71d7efb03e0f6 (diff)
parent2dccd2a5670532686cbe9da74ccf8e2ce591a20b (diff)
downloadtcl-60ba166da0bc91417a234865af682e26ce85c368.zip
tcl-60ba166da0bc91417a234865af682e26ce85c368.tar.gz
tcl-60ba166da0bc91417a234865af682e26ce85c368.tar.bz2
Merge 8.7 fix [784befb0ba] - tailcall crash
Diffstat (limited to 'tests')
-rw-r--r--tests/tailcall.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tailcall.test b/tests/tailcall.test
index c738bb3..c9ec674 100644
--- a/tests/tailcall.test
+++ b/tests/tailcall.test
@@ -708,6 +708,13 @@ test tailcall-14.1-bc {{in a deleted namespace} {byte compiled}} -body {
}
} -returnCodes 1 -result {namespace "::ns" not found}
+test tailcall-bug-784befb0ba {tailcall crash with 254 args} -body {
+ proc tccrash args {llength $args}
+ # Must be EXACTLY 254 for crash
+ proc p {} [list tailcall tccrash {*}[lrepeat 254 x]]
+ p
+} -result 254
+
# cleanup
::tcltest::cleanupTests