go/test
Ian Lance Taylor 8d0265dd32 test: Match gccgo error messages.
The gccgo compiler does not always generate a "cannot use"
error message.  It only does so for named types.  Maybe that
should change, but in any case it is irrelevant for this test.

assign1.go:105:4: error: incompatible types in assignment (cannot use type A1 as type A)
assign1.go:107:5: error: incompatible types in assignment (cannot use type A as type A1)
assign1.go:112:4: error: incompatible types in assignment (cannot use type B1 as type B)
assign1.go:114:5: error: incompatible types in assignment (cannot use type B as type B1)
assign1.go:119:4: error: incompatible types in assignment (cannot use type C1 as type C)
assign1.go:121:5: error: incompatible types in assignment (cannot use type C as type C1)
assign1.go:126:4: error: incompatible types in assignment (cannot use type F1 as type F)
assign1.go:128:5: error: incompatible types in assignment (cannot use type F as type F1)
assign1.go:140:4: error: incompatible types in assignment (cannot use type M1 as type M)
assign1.go:142:5: error: incompatible types in assignment (cannot use type M as type M1)
assign1.go:147:4: error: incompatible types in assignment (cannot use type P1 as type P)
assign1.go:149:5: error: incompatible types in assignment (cannot use type P as type P1)
assign1.go:154:4: error: incompatible types in assignment (cannot use type S1 as type S)
assign1.go:156:5: error: incompatible types in assignment (cannot use type S as type S1)
assign1.go:158:6: error: incompatible types in assignment
assign1.go:159:6: error: incompatible types in assignment
assign1.go:160:5: error: incompatible types in assignment
assign1.go:161:5: error: incompatible types in assignment
assign1.go:162:6: error: incompatible types in assignment
assign1.go:163:6: error: incompatible types in assignment
assign1.go:165:6: error: incompatible types in assignment
assign1.go:166:6: error: incompatible types in assignment
assign1.go:167:5: error: incompatible types in assignment
assign1.go:168:5: error: incompatible types in assignment
assign1.go:169:6: error: incompatible types in assignment
assign1.go:170:6: error: incompatible types in assignment
assign1.go:172:6: error: incompatible types in assignment
assign1.go:173:6: error: incompatible types in assignment
assign1.go:174:5: error: incompatible types in assignment
assign1.go:175:5: error: incompatible types in assignment
assign1.go:176:6: error: incompatible types in assignment
assign1.go:177:6: error: incompatible types in assignment
assign1.go:179:6: error: incompatible types in assignment
assign1.go:180:6: error: incompatible types in assignment
assign1.go:181:5: error: incompatible types in assignment
assign1.go:182:5: error: incompatible types in assignment
assign1.go:183:6: error: incompatible types in assignment
assign1.go:184:6: error: incompatible types in assignment
assign1.go:186:6: error: incompatible types in assignment
assign1.go:187:6: error: incompatible types in assignment
assign1.go:188:5: error: incompatible types in assignment
assign1.go:189:5: error: incompatible types in assignment
assign1.go:190:6: error: incompatible types in assignment
assign1.go:191:6: error: incompatible types in assignment
assign1.go:193:6: error: incompatible types in assignment
assign1.go:194:6: error: incompatible types in assignment
assign1.go:195:5: error: incompatible types in assignment
assign1.go:196:5: error: incompatible types in assignment
assign1.go:197:6: error: incompatible types in assignment
assign1.go:198:6: error: incompatible types in assignment
assign1.go:200:6: error: incompatible types in assignment
assign1.go:201:6: error: incompatible types in assignment
assign1.go:202:5: error: incompatible types in assignment
assign1.go:203:5: error: incompatible types in assignment
assign1.go:204:6: error: incompatible types in assignment
assign1.go:205:6: error: incompatible types in assignment
assign1.go:207:6: error: incompatible types in assignment
assign1.go:208:6: error: incompatible types in assignment
assign1.go:209:5: error: incompatible types in assignment
assign1.go:210:5: error: incompatible types in assignment
assign1.go:211:6: error: incompatible types in assignment
assign1.go:212:6: error: incompatible types in assignment

R=rsc
CC=golang-dev
https://golang.org/cl/2163044
2010-09-10 19:12:10 -07:00
..
bench build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
bugs gc: bug299, bug300 2010-08-03 00:53:32 -07:00
chan test: Reduce race conditions in chan/nonblock.go. 2010-09-10 15:37:20 -07:00
fixedbugs test: Recognize gccgo error messages. 2010-09-08 13:58:09 -07:00
garbage test/garbage/parser: sync with recent parser changes 2010-09-07 09:55:05 -04:00
interface test: Match gccgo error messages. 2010-09-08 21:03:24 -07:00
ken test new slices 2010-09-08 23:48:01 -04:00
nilptr test: remove semiocolons. 2010-09-04 10:36:13 +10:00
syntax test: Match gccgo error messages. 2010-09-10 12:44:07 -07:00
64bit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
235.go single argument panic 2010-03-30 10:34:57 -07:00
args.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
arm-pass.txt arm: bugfixes and syscall 2010-08-06 16:57:49 -07:00
assign1.go test: Match gccgo error messages. 2010-09-10 19:12:10 -07:00
assign.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
bigalg.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
bigmap.go runtime: allow large map values 2010-05-19 12:57:47 -07:00
blank1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
blank.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
chancap.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
char_lit1.go test: Match gccgo error messages. 2010-08-31 11:43:52 -07:00
char_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
closedchan.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
closure.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
cmp1.go single argument panic 2010-03-30 10:34:57 -07:00
cmp2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp3.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp4.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp5.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmplx.go gc: cmplx typecheck bug fix 2010-04-19 09:21:51 -07:00
cmplxdivide1.go test: override gcc bug when preparing complex divide tables 2010-06-30 23:34:27 -07:00
cmplxdivide.c test: override gcc bug when preparing complex divide tables 2010-06-30 23:34:27 -07:00
cmplxdivide.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
complit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
compos.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const3.go fmt.Print*: reimplement to switch on type first. 2010-06-14 17:16:35 -07:00
const.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
convert3.go test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
convert.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
convlit1.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
convlit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
copy.go misc cleanup: gofmt + &x -> x[0:] conversion 2010-06-08 17:51:57 -07:00
ddd1.go Match gccgo error messages. 2010-02-05 18:38:27 -08:00
ddd2.go gc: add ... T, rework plain ... 2010-02-01 00:25:59 -08:00
ddd3.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
ddd.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
decl.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
declbad.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
defer.go Change type of Printf's args to ... interface{} 2010-02-02 10:53:37 +11:00
deferprint.go gc: implement defer print/println/panic/panicln 2010-01-27 15:37:08 -08:00
empty.go test of new empty productions 2008-10-08 15:33:18 -07:00
env.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
errchk test: gccgo and gc print the error on different lines. 2010-08-31 14:12:23 -07:00
escape.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
float_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
floatcmp.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
for.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func3.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func4.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func5.go single argument panic 2010-03-30 10:34:57 -07:00
func.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
gc1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
gc.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
golden-arm.out arm: bugfixes (stack clobbering, indices) 2010-07-30 10:37:51 +03:00
golden.out gc: bug299, bug300 2010-08-03 00:53:32 -07:00
hashmap.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
helloworld.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
if1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
if.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
import1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
import2.go gc: fix chan <- chan precedence. 2010-01-26 10:40:28 -08:00
import3.go gc: fix chan <- chan precedence. 2010-01-26 10:40:28 -08:00
import4.go gc: fix imported and not used message - show path 2010-03-03 17:23:47 -08:00
import.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
index.go gc: index bounds tests and fixes 2010-08-03 00:26:02 -07:00
indirect1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
indirect.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
initcomma.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
initialize.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
initializerr.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
initsyscall.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
int_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
intcvt.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
iota.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
literal.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
malloc1.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
mallocfin.go single argument panic 2010-03-30 10:34:57 -07:00
mallocrand.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
mallocrep1.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
mallocrep.go test: Run garbage collector before testing malloc numbers. 2010-09-10 15:54:16 -07:00
map.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
method1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
method2.go delete export 2009-01-20 14:40:40 -08:00
method3.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
method.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
named1.go test: Match gccgo error messages. 2010-09-08 21:03:51 -07:00
named.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
nil.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
nul1.go test: Match gccgo error messages. 2010-09-09 09:00:32 -07:00
parentype.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
peano.go test/peano: use directly recursive type def 2010-08-06 15:07:54 -07:00
printbig.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
range.go gc: implement new len spec, range bug fix, optimization 2010-07-01 18:04:25 -07:00
recover1.go test for panic and recover 2010-03-31 11:47:09 -07:00
recover2.go gc: index bounds tests and fixes 2010-08-03 00:26:02 -07:00
recover3.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
recover.go runtime: turn run time errors checks into panics 2010-04-01 22:31:27 -07:00
rename1.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
rename.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
run build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
run-arm build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
runtime.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sieve.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sigchld.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
simassign.go single argument panic 2010-03-30 10:34:57 -07:00
sinit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
solitaire.go solitaire: an exercise in backtracking and string conversions 2010-09-03 10:52:45 -07:00
stack.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
string_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
stringrange.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
switch1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
switch.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
test0.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
turing.go test/turing: refactor 2010-09-04 10:40:00 +10:00
typeswitch1.go single argument panic 2010-03-30 10:34:57 -07:00
typeswitch2.go runtime, type switch: eliminate package global name space assumption 2010-01-25 18:23:20 -08:00
typeswitch.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
undef.go test: Match gccgo error messages. 2010-09-10 12:44:37 -07:00
utf.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
varerr.go test: Match gccgo error messages. 2010-09-10 12:45:46 -07:00
varinit.go single argument panic 2010-03-30 10:34:57 -07:00
vectors.go single argument panic 2010-03-30 10:34:57 -07:00
zerodivide.go fix build 2010-07-30 10:53:26 +03:00