1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:30:14 -07:00
go/test
Ian Lance Taylor db3ec4f239 Match gccgo error messages.
bug121.go:12:3: error: name list not allowed in interface type
bug121.go:16:2: error: expected signature or type name

semi1.go:10:76: error: unexpected semicolon or newline before ‘{’
semi1.go:10:5: error: reference to undefined name ‘x’
semi1.go:10:8: error: reference to undefined name ‘y’
semi1.go:12:3: error: reference to undefined name ‘z’

semi2.go:10:79: error: unexpected semicolon or newline before ‘{’
semi2.go:10:9: error: reference to undefined name ‘x’

semi3.go:10:79: error: unexpected semicolon or newline before ‘{’
semi3.go:10:6: error: reference to undefined name ‘x’
semi3.go:10:9: error: reference to undefined name ‘y’
semi3.go:10:12: error: reference to undefined name ‘z’
semi3.go:12:3: error: reference to undefined name ‘z’

semi4.go:11:2: error: unexpected semicolon or newline before ‘{’
semi4.go:10:6: error: reference to undefined name ‘x’
semi4.go:12:3: error: reference to undefined name ‘z’

semi5.go:10:1: error: unexpected semicolon or newline before ‘{’

semi7.go:11:2: error: unexpected semicolon or newline before ‘else’
semi7.go:10:5: error: reference to undefined name ‘x’

slice.go:9:11: error: missing lower bound in slice expression
slice.go:9:9: error: reference to undefined name ‘y’
slice.go:9:12: error: reference to undefined name ‘z’

R=rsc
CC=golang-dev
https://golang.org/cl/201061
2010-02-04 21:31:30 -08:00
..
bench Change type of Printf's args to ... interface{} 2010-02-02 10:53:37 +11:00
bugs gc: bug246 2010-02-01 23:05:15 -08:00
chan runtime: fix race condition 2009-12-18 12:25:53 -08:00
fixedbugs Match gccgo error messages. 2010-02-04 21:31:30 -08:00
interface test/interface/receiver.go: expand to do dynamic 2009-11-14 19:28:13 -08:00
ken Add explicit locking. 2010-01-19 21:09:58 -08:00
nilptr drop output from nilptr tests; 2009-11-09 23:11:36 -08:00
syntax Match gccgo error messages. 2010-02-04 21:31:30 -08:00
64bit.go - gofmt these files 2009-12-09 16:55:03 -08:00
235.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
args.go
arm-pass.txt make arm pass match what's working on real hardware 2009-11-14 20:08:22 -08:00
assign.go gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bigalg.go unused imports 2009-09-17 10:27:04 -07:00
blank1.go write-only variable _ 2009-09-08 23:16:19 -07:00
blank.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
chancap.go
char_lit.go
closedchan.go
closure.go
cmp1.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08: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
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
const1.go Cleaned up gccgo error messages require minor adjustment to 2009-11-05 16:04:45 -08:00
const2.go
const3.go
const.go
convert3.go
convert.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
convlit1.go
convlit.go
copy.go - flip in and out to exercise overlap check a little (could do better) 2009-11-18 22:26:36 -08:00
ddd1.go gc: ... T corner cases 2010-02-01 10:49:24 -08:00
ddd2.go gc: add ... T, rework plain ... 2010-02-01 00:25:59 -08:00
ddd3.go gc: add ... T, rework plain ... 2010-02-01 00:25:59 -08:00
ddd.go gc: final ...T bug for the day 2010-02-01 16:22:16 -08: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
errchk handle compiler crash better: 2009-10-09 16:44:40 -07:00
escape1.go
escape.go last round: non-package code 2009-09-15 12:42:24 -07:00
float_lit.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
floatcmp.go gc: fix up floating point NaN comparisons 2009-11-15 17:24:14 -08:00
for.go
func1.go
func2.go
func3.go
func4.go
func5.go add tests for the func()() case 2009-09-14 13:09:53 -07:00
func.go
gc1.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
gc.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
golden.out gc: bug246 2010-02-01 23:05:15 -08:00
hashmap.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
helloworld.go
hilbert.go
if1.go
if.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -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
import.go
indirect1.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
indirect.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
initcomma.go
initialize.go last round: non-package code 2009-09-15 12:42:24 -07:00
initializerr.go
initsyscall.go unused imports 2009-09-17 10:27:04 -07:00
int_lit.go
intcvt.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
iota.go
literal.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
malloc1.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
mallocfin.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
mallocrand.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
mallocrep1.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
mallocrep.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
map.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
method1.go
method2.go
method3.go gc: method expressions on concrete types 2009-12-18 17:24:58 -08:00
method.go gc: method expressions on concrete types 2009-12-18 17:24:58 -08:00
nacl-pass.txt nacl: fix build, finally fixed 8l convergence bug 2010-02-01 15:20:19 -08:00
named1.go gccgo does not distinguish "use" and "assign" in these error 2009-10-20 23:11:00 -07:00
named.go test: comparisons have type bool 2009-09-24 17:54:47 -07:00
nil.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
parentype.go undo 35108 (disallow parens around type in struct literal). 2009-09-29 21:21:14 -07:00
peano.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
printbig.go
range.go Test evaluation of range variables. 2010-01-15 10:40:30 -08:00
rename1.go Recognize gccgo error messages. 2009-10-26 16:06:46 -07:00
rename.go defining package block names must override 2009-09-09 01:01:39 -07:00
run gc: improved syntax errors 2010-01-26 23:13:22 -08:00
run-arm fix arm test to actual return success/fail and expose runcgo 2009-10-05 21:51:34 -07:00
run-nacl nacl: fix build, finally fixed 8l convergence bug 2010-02-01 15:20:19 -08:00
runtime.go New gccgo error message; match both compilers with one string. 2010-01-30 11:31:30 -08:00
sieve.go
sigchld.go
simassign.go missed a couple of files in test 2009-12-09 21:39:20 -08:00
stack.go
string_lit.go - gofmt these files 2009-12-09 16:55:03 -08:00
stringrange.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
switch1.go
switch.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
test0.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
turing.go
typeswitch1.go update type switch to match spec. 2009-09-09 00:18:16 -07:00
typeswitch2.go runtime, type switch: eliminate package global name space assumption 2010-01-25 18:23:20 -08:00
typeswitch.go
utf.go
varinit.go
vectors.go Change to container/vector interface: 2009-11-24 13:43:18 -08:00