diff options
author | stanton <stanton@noemail.net> | 1998-06-25 16:12:10 (GMT) |
---|---|---|
committer | stanton <stanton@noemail.net> | 1998-06-25 16:12:10 (GMT) |
commit | c95abd5e8369461af64d0bdd12781fd7edd702af (patch) | |
tree | 02b0c5e345d58a316dc3f08010d8764703e1257b | |
parent | 1dc2d3c65556a84cad1e491c23fe9fa6b28e214b (diff) | |
download | tcl-c95abd5e8369461af64d0bdd12781fd7edd702af.zip tcl-c95abd5e8369461af64d0bdd12781fd7edd702af.tar.gz tcl-c95abd5e8369461af64d0bdd12781fd7edd702af.tar.bz2 |
*** empty log message ***
FossilOrigin-Name: 0cabb12481d7379d55a09d213f33e790a014c0ae
-rw-r--r-- | tests/compile.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/compile.test b/tests/compile.test index 4720d35..0c94332 100644 --- a/tests/compile.test +++ b/tests/compile.test @@ -69,6 +69,16 @@ test compile-2.4 {TclCompileDollarVar: global scalar name with ::s} { list [p] $::a(1) [expr {[lsearch -exact [info globals] a] != 0}] } {1 1 1} +test compile-3.2 {TclCompileCatchCmd: non-local variables} { + set ::foo 1 + proc catch-test {} { + catch {set x 3} ::foo + } + catch-test + set ::foo +} 3 + + test compile-1.16 {TclCompileForCmd: command substituted test expression} { set i 0 set j 0 |