aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2019-07-10 10:58:59 -0400
committerCherry Zhang <cherryyz@google.com>2019-07-10 18:02:11 +0000
commita1bcee4f1c196681397f1140e4338d056a188a3e (patch)
treecdc47c087874a74798ee70d452897147f7e35803 /src
parenta05c13206450322844dd67cdf2acac430338c7cd (diff)
downloadgo-a1bcee4f1c196681397f1140e4338d056a188a3e.tar.xz
test: add a test for gccgo bug in handling break statement in a select
Gccgo CL 184998 added optimizations for one- and two-case select statements. But it didn't handle break statement in the select case correctly. The fix is CL 185519. This CL adds a test. Change-Id: Ide1b199f106172b41dd77c1f6e0d662fccdd8cc5 Reviewed-on: https://go-review.googlesource.com/c/go/+/185520 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions