summaryrefslogtreecommitdiff
path: root/test/golden.out
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2011-05-25 10:26:06 -0700
committerRobert Griesemer <gri@golang.org>2011-05-25 10:26:06 -0700
commitf5a773795c935967134b818958bb19a9165f0796 (patch)
tree32905e1570f4e847bd71f436359fd0710a82fe69 /test/golden.out
parentecfb279e5a4e6a3e1f62b2fdc25256e5b23c7264 (diff)
downloadgo-f5a773795c935967134b818958bb19a9165f0796.tar.gz
test: test cases for issue 1708.
R=rsc CC=golang-dev http://codereview.appspot.com/4548058
Diffstat (limited to 'test/golden.out')
-rw-r--r--test/golden.out15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/golden.out b/test/golden.out
index 4400e41dd..ba60fbfed 100644
--- a/test/golden.out
+++ b/test/golden.out
@@ -40,6 +40,21 @@ 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