From: Robert Griesemer Date: Fri, 21 Aug 2009 21:14:25 +0000 (-0700) Subject: unexpected shift conversion behavior X-Git-Tag: weekly.2009-11-06~807 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cfa52e5e0bfb0aaea7dec2a864b0f562a28d1d15;p=gostls13.git unexpected shift conversion behavior R=r DELTA=20 (20 added, 0 deleted, 0 changed) OCL=33646 CL=33667 --- diff --git a/test/bugs/bug193.go b/test/bugs/bug193.go new file mode 100644 index 0000000000..df768b930f --- /dev/null +++ b/test/bugs/bug193.go @@ -0,0 +1,15 @@ +// errchk $G $D/$F.go + +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package main + +func main() { + s := uint(10); + ss := 1<