diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-07-22 00:21:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-07-22 00:21:51 +0000 |
commit | 4114e6b1fe8bb10a42ce56263ad42cba98138254 (patch) | |
tree | a405735df12d959f1ef82e43673d94e0e33d96aa /gcc/tree-ssa-loop-niter.h | |
parent | a94aa329b4782892799592f149878d1f3bf10d51 (diff) | |
download | gcc-4114e6b1fe8bb10a42ce56263ad42cba98138254.zip gcc-4114e6b1fe8bb10a42ce56263ad42cba98138254.tar.gz gcc-4114e6b1fe8bb10a42ce56263ad42cba98138254.tar.bz2 |
compiler: fix check for duplicate declaration
The compiler check that issued a duplicate declaration error for
a, a, a := 1, 2, 3
was incorrectly issuing an error for
a, a, a = 1, 2, 3
While this is not particularly useful, it is valid Go.
Test is https://golang.org/cl/25143.
Reviewed-on: https://go-review.googlesource.com/25144
From-SVN: r238618
Diffstat (limited to 'gcc/tree-ssa-loop-niter.h')
0 files changed, 0 insertions, 0 deletions