]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: lock-in test for repeated variables in range declaration
authorEmmanuel Odeke <emm.odeke@gmail.com>
Sat, 24 Dec 2016 08:06:02 +0000 (00:06 -0800)
committerKeith Randall <khr@golang.org>
Sat, 24 Dec 2016 22:37:11 +0000 (22:37 +0000)
commit5bfba30d3325d87ef89dd877f05e5d1e2d618bc3
tree887684ab43e7d025a8bfa441e7f8521c20c5ab54
parentd160982a2ef9193384fb3c66939db0fb37a21ba3
cmd/compile: lock-in test for repeated variables in range declaration

Fixes #6772.

Lock-in test for invalid range loop: repeated variables in range declaration.

Change-Id: I37dd8b1cd7279abe7810deaf8a5d485c5c3b73ca
Reviewed-on: https://go-review.googlesource.com/34714
Reviewed-by: Keith Randall <khr@golang.org>
test/fixedbugs/issue6772.go [new file with mode: 0644]