diff options
author | Russ Cox <rsc@golang.org> | 2014-07-16 19:27:10 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-07-16 19:27:10 -0400 |
commit | c678fb35b728e05f4c1dc0b3b9f7389496c5acef (patch) | |
tree | dd6c9ad99370960a002c4666daaa692fd03de5b9 /test/stress | |
parent | 7c5b59387bdb5d5c2a763d85e2a0c97110cbc9e1 (diff) | |
download | go-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.go | 2 |
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() { |