summaryrefslogtreecommitdiffstats
path: root/tests/proc.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-18 11:57:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-18 11:57:36 (GMT)
commitd29c3178051f09e66db3204230d26fa28364fdd4 (patch)
treea5f6ebf5a533405ecd7064eb0f69ccdfd61b84eb /tests/proc.test
parentafa0f7421bb00ea52020c1118c980b7045a38ddc (diff)
parent43d72b8d8e0d029c39b3c9abbb84f196aed496f5 (diff)
downloadtcl-d29c3178051f09e66db3204230d26fa28364fdd4.zip
tcl-d29c3178051f09e66db3204230d26fa28364fdd4.tar.gz
tcl-d29c3178051f09e66db3204230d26fa28364fdd4.tar.bz2
Merge 8.7. Remove -stoponerror option
Diffstat (limited to 'tests/proc.test')
-rw-r--r--tests/proc.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/proc.test b/tests/proc.test
index ab32567..b87af57 100644
--- a/tests/proc.test
+++ b/tests/proc.test
@@ -325,6 +325,15 @@ test proc-4.8 {TclCreateProc, procbody obj, no leak on multiple iterations} -set
test proc-4.9 {[39fed4dae5] Valid Tcl_PkgPresent return} tcl::test {
tcl::procbodytest::check
} 1
+test proc-4.10 {
+ TclCreateProc, issue a8579d906a28, argument with no name
+} -body {
+ catch {
+ proc p1 [list [list [expr {1 + 2}] default]] {}
+ }
+} -cleanup {
+ catch {rename p1 {}}
+} -result 0
test proc-5.1 {Bytecompiling noop; test for correct argument substitution} -body {
proc p args {} ; # this will be bytecompiled into t