summaryrefslogtreecommitdiffstats
path: root/tests/proc.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-15 22:17:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-15 22:17:35 (GMT)
commitd171543388eb0149647f980eb25c80a9bfdadd1e (patch)
tree00985322b6d0333093834753ce16d1bd09acf375 /tests/proc.test
parentb5fa09c67328376589d85fe0949248cff369d82a (diff)
parent9b0b59d046f223efca4855691ed4f476fa43b1b8 (diff)
downloadtcl-d171543388eb0149647f980eb25c80a9bfdadd1e.zip
tcl-d171543388eb0149647f980eb25c80a9bfdadd1e.tar.gz
tcl-d171543388eb0149647f980eb25c80a9bfdadd1e.tar.bz2
merge 8.6
Diffstat (limited to 'tests/proc.test')
-rw-r--r--tests/proc.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/proc.test b/tests/proc.test
index b87af57..118dca1 100644
--- a/tests/proc.test
+++ b/tests/proc.test
@@ -412,6 +412,13 @@ test proc-7.5 {[631b4c45df] Crash in argument processing} {
unset -nocomplain val
} {}
+test proc-7.6 {[51d5f22997] Crash in argument processing} -cleanup {
+ rename foo {}
+} -body {
+ proc foo {{x {}} {y {}} args} {}
+ foo
+} -result {}
+
# cleanup
catch {rename p ""}