summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-08-27 18:11:53 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-08-27 18:11:53 (GMT)
commit28384139ba926d9708620f89b4b77f0fa48e07d7 (patch)
tree9ce76aabc9ea3e790c3d8f852c0bf4ca3cf0c6e9 /tests
parente5b2f21fe9312b3c6d5d7dcac00008939cbca8bd (diff)
downloadtcl-28384139ba926d9708620f89b4b77f0fa48e07d7.zip
tcl-28384139ba926d9708620f89b4b77f0fa48e07d7.tar.gz
tcl-28384139ba926d9708620f89b4b77f0fa48e07d7.tar.bz2
Add test for Bug 2486550.
Diffstat (limited to 'tests')
-rw-r--r--tests/coroutine.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/coroutine.test b/tests/coroutine.test
index 8a7fdf3..03c63ad 100644
--- a/tests/coroutine.test
+++ b/tests/coroutine.test
@@ -633,6 +633,15 @@ test coroutine-7.6 {Early yield crashes} {
rename foo {}
} {}
+test coroutine-7.7 {Bug 2486550} -setup {
+ interp hide {} yield
+} -body {
+ coroutine demo interp invokehidden {} yield ok
+} -cleanup {
+ demo
+ interp expose {} yield
+} -result ok
+
# cleanup
unset lambda