summaryrefslogtreecommitdiff
path: root/test/stress
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-07-16 19:27:10 -0400
committerRuss Cox <rsc@golang.org>2014-07-16 19:27:10 -0400
commitc678fb35b728e05f4c1dc0b3b9f7389496c5acef (patch)
treedd6c9ad99370960a002c4666daaa692fd03de5b9 /test/stress
parent7c5b59387bdb5d5c2a763d85e2a0c97110cbc9e1 (diff)
downloadgo-c678fb35b728e05f4c1dc0b3b9f7389496c5acef.tar.gz
cmd/gc: implement 'for range x {'
Fixes issue 6102. LGTM=gri R=ken, r, gri CC=golang-codereviews https://codereview.appspot.com/113120043
Diffstat (limited to 'test/stress')
-rw-r--r--test/stress/maps.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/stress/maps.go b/test/stress/maps.go
index d022e19ad..fc5ab05a2 100644
--- a/test/stress/maps.go
+++ b/test/stress/maps.go
@@ -97,6 +97,8 @@ func (m intMap) Len() int { return len(m) }
func (m intMap) RangeAll() {
for _ = range m {
}
+ for range m {
+ }
}
func stressMaps() {