go/test
Ian Lance Taylor 1331084c3d test: Match gccgo error messages.
bug284.go:33: error: invalid type conversion
bug284.go:36: error: invalid type conversion (cannot use type A2 as type A1)
bug284.go:37: error: invalid type conversion
bug284.go:38: error: invalid type conversion (cannot use type A1 as type A2)
bug284.go:56: error: invalid type conversion
bug284.go:59: error: invalid type conversion (cannot use type S2 as type S1)
bug284.go:60: error: invalid type conversion
bug284.go:61: error: invalid type conversion (cannot use type S1 as type S2)
bug284.go:71: error: invalid type conversion
bug284.go:74: error: invalid type conversion (cannot use type P2 as type P1)
bug284.go:75: error: invalid type conversion
bug284.go:76: error: invalid type conversion (cannot use type P1 as type P2)
bug284.go:96: error: invalid type conversion
bug284.go:99: error: invalid type conversion (cannot use type Q2 as type Q1)
bug284.go:101: error: invalid type conversion (cannot use type Q1 as type Q2)
bug284.go:111: error: invalid type conversion (different parameter types)
bug284.go:114: error: invalid type conversion (different parameter types)
bug284.go:115: error: invalid type conversion (different parameter types)
bug284.go:116: error: invalid type conversion (different parameter types)
bug284.go:134: error: invalid type conversion (incompatible type for method 'f' (different result types))
bug284.go:137: error: invalid type conversion (incompatible type for method 'f' (different result types))
bug284.go:138: error: invalid type conversion (incompatible type for method 'f' (different result types))
bug284.go:139: error: invalid type conversion (incompatible type for method 'f' (different result types))
bug284.go:149: error: invalid type conversion
bug284.go:152: error: invalid type conversion (cannot use type L2 as type L1)
bug284.go:153: error: invalid type conversion
bug284.go:154: error: invalid type conversion (cannot use type L1 as type L2)
bug284.go:164: error: invalid type conversion
bug284.go:167: error: invalid type conversion (cannot use type L2 as type L1)
bug284.go:168: error: invalid type conversion
bug284.go:169: error: invalid type conversion (cannot use type L1 as type L2)
bug284.go:179: error: invalid type conversion
bug284.go:182: error: invalid type conversion (cannot use type C2 as type C1)
bug284.go:183: error: invalid type conversion
bug284.go:184: error: invalid type conversion (cannot use type C1 as type C2)

R=rsc
CC=golang-dev
https://golang.org/cl/2136041
2010-09-01 21:05:31 -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 gc: empty select 2010-08-03 01:07:57 -07:00
fixedbugs test: Match gccgo error messages. 2010-09-01 21:05:31 -07:00
garbage build: no required environment variables 2010-08-18 10:08:49 -04:00
interface gc: more cleanup 2010-06-09 11:00:55 -07:00
ken test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
nilptr test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
syntax gc: more accurate error description 2010-05-24 17:07:51 -07:00
64bit.go - gofmt these files 2009-12-09 16:55:03 -08: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
assign.go gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
assign1.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
bigalg.go unused imports 2009-09-17 10:27:04 -07:00
bigmap.go runtime: allow large map values 2010-05-19 12:57:47 -07:00
blank.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
blank1.go write-only variable _ 2009-09-08 23:16:19 -07:00
chancap.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
char_lit.go fix build: invalid character literals 2010-06-08 22:32:04 -07:00
char_lit1.go test: Match gccgo error messages. 2010-08-31 11:43:52 -07:00
closedchan.go
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 making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp3.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp4.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp5.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmplx.go gc: cmplx typecheck bug fix 2010-04-19 09:21:51 -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
cmplxdivide1.go test: override gcc bug when preparing complex divide tables 2010-06-30 23:34:27 -07:00
complit.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
compos.go missing files; cleaned up g4 nothave output. 2009-09-24 13:38:18 -07:00
const.go
const1.go Cleaned up gccgo error messages require minor adjustment to 2009-11-05 16:04:45 -08:00
const2.go
const3.go fmt.Print*: reimplement to switch on type first. 2010-06-14 17:16:35 -07:00
convert.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
convert3.go test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
convlit.go gc: implement []int(string) and []byte(string) 2010-02-25 15:11:07 -08:00
convlit1.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
copy.go misc cleanup: gofmt + &x -> x[0:] conversion 2010-06-08 17:51:57 -07:00
ddd.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -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
decl.go last round: non-package code 2009-09-15 12:42:24 -07:00
declbad.go last round: non-package code 2009-09-15 12:42:24 -07: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
env.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
errchk test: gccgo and gc print the error on different lines. 2010-08-31 14:12:23 -07:00
escape.go gc: allow taking address of out parameters 2010-03-26 18:01:02 -07:00
float_lit.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
floatcmp.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
for.go
func.go
func1.go
func2.go
func3.go
func4.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
func5.go single argument panic 2010-03-30 10:34:57 -07:00
gc.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
gc1.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07: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 fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
helloworld.go
if.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
if1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
import.go implications of stricter type equality: 2009-05-08 15:40:14 -07:00
import1.go Match gccgo error messages. 2010-02-01 16:35:23 -08: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
index.go gc: index bounds tests and fixes 2010-08-03 00:26:02 -07:00
indirect.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
indirect1.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
initcomma.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
initialize.go last round: non-package code 2009-09-15 12:42:24 -07:00
initializerr.go Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
initsyscall.go unused imports 2009-09-17 10:27:04 -07:00
int_lit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
intcvt.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
iota.go
literal.go arm: minor bugfixes. 2010-07-28 15:58:35 +03: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 delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
mallocrep.go single argument panic 2010-03-30 10:34:57 -07:00
mallocrep1.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
map.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
method.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
method1.go Enable these tests. Fix divconst.go and modconst.go to 2009-08-21 15:43:23 -07:00
method2.go
method3.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
named.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
named1.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
nil.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
nul1.go arm: fix build2, tweak test/nul1.go arm exclusion 2010-07-21 14:51:03 +03:00
parentype.go go_spec: don't allow parens around the literal type of composite literals 2010-07-29 18:13:41 -07:00
peano.go test/peano: use directly recursive type def 2010-08-06 15:07:54 -07:00
printbig.go
range.go gc: implement new len spec, range bug fix, optimization 2010-07-01 18:04:25 -07:00
recover.go runtime: turn run time errors checks into panics 2010-04-01 22:31:27 -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
rename.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
rename1.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 New gccgo error message; match both compilers with one string. 2010-01-30 11:31:30 -08:00
sieve.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
sigchld.go test/sigchld.go: use syscall.Kill instead of a combination 2010-07-28 18:26:29 -07:00
simassign.go single argument panic 2010-03-30 10:34:57 -07:00
sinit.go test: test of static initialization (fails) 2010-05-03 17:21:49 -07:00
stack.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
string_lit.go gc: implement []int(string) and []byte(string) 2010-02-25 15:11:07 -08:00
stringrange.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
switch.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
switch1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
test0.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
turing.go
typeswitch.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07: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
undef.go gc: less aggressive name binding, for better line numbers in errors 2010-06-12 11:17:24 -07:00
utf.go change utf8.FullRuneInString and utf8.DecodeRuneInString 2009-05-11 14:10:34 -07:00
varerr.go gc: handle use of builtin function outside function call 2010-05-20 22:57:08 -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