1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:04:40 -07:00
go/test/interface
Ian Lance Taylor 9169c27eaa test: match gccgo error messages
bug363.go:13:12: error: invalid context-determined non-integer type for shift operand
bug363.go:16:12: error: invalid context-determined non-integer type for shift operand

pointer.go:34:6: error: incompatible type in initialization (pointer to interface type has no methods)
pointer.go:36:6: error: incompatible type in initialization

method2.go:15:1: error: invalid pointer or interface receiver type
method2.go:16:1: error: invalid pointer or interface receiver type
method2.go:21:1: error: invalid pointer or interface receiver type
method2.go:22:1: error: invalid pointer or interface receiver type
method2.go:28:15: error: type ‘*Val’ has no method ‘val’
method2.go:33:11: error: reference to undefined field or method ‘val’

shift1.go:19:16: error: invalid context-determined non-integer type for shift operand
shift1.go:24:19: error: invalid context-determined non-integer type for shift operand
shift1.go:25:17: error: invalid context-determined non-integer type for shift operand
shift1.go:18:18: error: shift of non-integer operand
shift1.go:26:13: error: floating point constant truncated to integer
shift1.go:33:15: error: integer constant overflow
shift1.go:34:15: error: integer constant overflow
shift1.go:35:17: error: integer constant overflow

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5081051
2011-09-21 17:25:48 -07:00
..
bigdata.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
convert1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
convert2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
convert.go single argument panic 2010-03-30 10:34:57 -07:00
embed0.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
embed1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
embed2.go gc, spec, tests: no auto-indirect of pointer to interface value 2010-09-30 14:59:41 -04:00
embed.go gc, spec, tests: no auto-indirect of pointer to interface value 2010-09-30 14:59:41 -04:00
explicit.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
fail.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
fake.go fix tree for reflect rename 2011-04-25 13:39:36 -04:00
pointer.go test: match gccgo error messages 2011-09-21 17:25:48 -07:00
private1.go test: add test for interfaces with unexported methods. 2011-03-29 15:04:19 -07:00
private.go test: add test for interfaces with unexported methods. 2011-03-29 15:04:19 -07:00
receiver1.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
receiver.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
recursive.go delete forward type declarations 2009-08-12 14:40:47 -07:00
returntype.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
struct.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00