diff options
author | stanton <stanton> | 1998-06-25 16:12:10 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-06-25 16:12:10 (GMT) |
commit | 32e60ee1bab18f9b5441eeb97eadcf604af608ef (patch) | |
tree | 02b0c5e345d58a316dc3f08010d8764703e1257b | |
parent | c9c610cd110d1d2fa6a5c6c7aabc8de1395ed2e5 (diff) | |
download | tcl-32e60ee1bab18f9b5441eeb97eadcf604af608ef.zip tcl-32e60ee1bab18f9b5441eeb97eadcf604af608ef.tar.gz tcl-32e60ee1bab18f9b5441eeb97eadcf604af608ef.tar.bz2 |
*** empty log message ***
-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 |