summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/bug073.go
blob: f3605b37cfe6df8d99182679c7a1077a93e7a127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// compile

// 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() {
	var s int = 0
	var x int = 0
	x = x << s // as of 1.13, these are ok
	x = x >> s // as of 1.13, these are ok
}