summaryrefslogtreecommitdiff
path: root/test/rotate3.go
diff options
context:
space:
mode:
authorR?my Oudompheng <oudomphe@phare.normalesup.org>2013-01-11 22:42:55 +0100
committerR?my Oudompheng <oudomphe@phare.normalesup.org>2013-01-11 22:42:55 +0100
commit829d91fb72cc4875e180f2640acc6f1718fe2f4b (patch)
tree1fbe0c1c0bf6c701fb96a2b63bc3483de122f4d7 /test/rotate3.go
parent910a0e0c24e512fb1fa5840c31004a0967d65ce2 (diff)
downloadgo-829d91fb72cc4875e180f2640acc6f1718fe2f4b.tar.gz
test: add rotate.go and fixedbugs/bug313
Update issue 4139. R=golang-dev, iant CC=golang-dev https://codereview.appspot.com/7094047
Diffstat (limited to 'test/rotate3.go')
-rw-r--r--test/rotate3.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/rotate3.go b/test/rotate3.go
new file mode 100644
index 000000000..73d47d852
--- /dev/null
+++ b/test/rotate3.go
@@ -0,0 +1,12 @@
+// runoutput ./rotate.go
+
+// Copyright 2013 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.
+
+// Generate test of bit rotations.
+// The output is compiled and run.
+
+package main
+
+const mode = 3