diff options
author | Russ Cox <rsc@golang.org> | 2011-05-31 15:05:40 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-05-31 15:05:40 -0400 |
commit | d031851b1406d5ac92eb9457744987abd2f5ae89 (patch) | |
tree | 30de12affd2d07d06ce572436f000126a9f81973 /test/golden.out | |
parent | e9d9760818188983f5586620b996890831ff1a54 (diff) | |
download | go-d031851b1406d5ac92eb9457744987abd2f5ae89.tar.gz |
gc: implement new shift rules
The change is that 1.0<<2 is now okay.
R=ken2
CC=golang-dev
http://codereview.appspot.com/4524084
Diffstat (limited to 'test/golden.out')
-rw-r--r-- | test/golden.out | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/golden.out b/test/golden.out index ba60fbfed..4400e41dd 100644 --- a/test/golden.out +++ b/test/golden.out @@ -40,21 +40,6 @@ hello, world -9223372036854775808 9223372036854775807 -=========== ./shift1.go -BUG: errchk: ./shift1.go:33: error message does not match 'overflow' -errchk: ./shift1.go:34: error message does not match 'overflow' -errchk: ./shift1.go:35: error message does not match 'overflow' - -=========== ./shift2.go -./shift2.go:22: illegal constant expression: ideal LSH uint -./shift2.go:35: illegal constant expression: ideal LSH uint -./shift2.go:36: illegal constant expression: ideal LSH uint -./shift2.go:36: invalid operation: 2 << c (shift of type float64) -./shift2.go:39: illegal constant expression: ideal LSH uint -./shift2.go:40: illegal constant expression: ideal LSH uint -./shift2.go:40: invalid operation: 2 << c (shift of type float64) -./shift2.go:40: cannot use 2 << c as type interface { } in function argument - =========== ./sigchld.go survived SIGCHLD |