summaryrefslogtreecommitdiffstats
path: root/tests/cmdIL.test
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2012-11-20 12:13:43 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2012-11-20 12:13:43 (GMT)
commit3e55ef9d38f9ad0ce68ab947b51a37b144046100 (patch)
treefb090e3289193ec27321e51dab2e78b60ac9de05 /tests/cmdIL.test
parentabcad102a592db423039b297a5885beb9034ad5b (diff)
parent884171d33416e69905bbb16e8734dd1d760ed08a (diff)
downloadtcl-3e55ef9d38f9ad0ce68ab947b51a37b144046100.zip
tcl-3e55ef9d38f9ad0ce68ab947b51a37b144046100.tar.gz
tcl-3e55ef9d38f9ad0ce68ab947b51a37b144046100.tar.bz2
merge dkf-compile-misc-info
Diffstat (limited to 'tests/cmdIL.test')
-rw-r--r--tests/cmdIL.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cmdIL.test b/tests/cmdIL.test
index efb0bce..721773f 100644
--- a/tests/cmdIL.test
+++ b/tests/cmdIL.test
@@ -717,6 +717,16 @@ test cmdIL-7.8 {lreverse command - shared intrep [Bug 1675044]} -setup {
rename K {}
} -result 1
+# This belongs in info test, but adding tests there breaks tests
+# that compute source file line numbers.
+test info-20.6 {Bug 3587651} -setup {
+ namespace eval my {namespace eval tcl {namespace eval mathfunc {
+ proc demo x {return 42}
+ }}}} -body { namespace eval my {expr {"demo" in [info functions]}}} -cleanup {
+ namespace delete my
+} -result 1
+
+
# cleanup
::tcltest::cleanupTests
return