1 // $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG: bug344
3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
15 if y := x << (i&5); y != 12345<<0 {
16 println("BUG bug344", y)
21 if y := x << (i&5); y != 12345<<1 {
22 println("BUG bug344a", y)
26 if y := x << i; y != 0 {
27 println("BUG bug344b", y)
31 if y := x << i; y != 0 {
32 println("BUG bug344c", y)
39 . INDREG a(1) l(15) x(24) tc(2) runtime.ret G0 string
40 bug343.go:15: internal compiler error: typecheck INDREG