diff options
author | Russ Cox <rsc@golang.org> | 2010-06-08 16:14:19 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-06-08 16:14:19 -0700 |
commit | f892540513d398156f32b357bcda43fe62f13728 (patch) | |
tree | f207367f1df8db5a4fdcac4bc9e805af11538770 | |
parent | 104cd57c6d8f63eae00564eeca6de80d09e27a17 (diff) | |
download | go-f892540513d398156f32b357bcda43fe62f13728.tar.gz go-f892540513d398156f32b357bcda43fe62f13728.zip |
fix build
R=gri
CC=golang-dev
https://golang.org/cl/1616041
-rw-r--r-- | test/bugs/bug285.go | 2 | ||||
-rw-r--r-- | test/golden.out | 41 |
2 files changed, 22 insertions, 21 deletions
diff --git a/test/bugs/bug285.go b/test/bugs/bug285.go index df373c9881..59499c983c 100644 --- a/test/bugs/bug285.go +++ b/test/bugs/bug285.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.go && ./$A.out +// $G $D/$F.go && $L $F.go && ./$A.out || echo BUG: bug285 // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/golden.out b/test/golden.out index fc279201a9..cda1ec412b 100644 --- a/test/golden.out +++ b/test/golden.out @@ -194,31 +194,32 @@ errchk: bugs/bug284.go:71: missing expected error: 'cannot' errchk: bugs/bug284.go:74: missing expected error: 'cannot' errchk: bugs/bug284.go:75: missing expected error: 'cannot' errchk: bugs/bug284.go:76: missing expected error: 'cannot' -errchk: bugs/bug284.go:95: missing expected error: 'cannot' -errchk: bugs/bug284.go:97: missing expected error: 'cannot' -errchk: bugs/bug284.go:107: missing expected error: 'cannot' -errchk: bugs/bug284.go:110: missing expected error: 'cannot' +errchk: bugs/bug284.go:96: missing expected error: 'cannot' +errchk: bugs/bug284.go:99: missing expected error: 'cannot' +errchk: bugs/bug284.go:101: missing expected error: 'cannot' errchk: bugs/bug284.go:111: missing expected error: 'cannot' -errchk: bugs/bug284.go:112: missing expected error: 'cannot' -errchk: bugs/bug284.go:130: missing expected error: 'cannot' -errchk: bugs/bug284.go:133: missing expected error: 'cannot' -errchk: bugs/bug284.go:134: missing expected error: 'cannot' -errchk: bugs/bug284.go:135: missing expected error: 'cannot' -errchk: bugs/bug284.go:145: missing expected error: 'cannot' -errchk: bugs/bug284.go:148: missing expected error: 'cannot' +errchk: bugs/bug284.go:114: missing expected error: 'cannot' +errchk: bugs/bug284.go:115: missing expected error: 'cannot' +errchk: bugs/bug284.go:116: missing expected error: 'cannot' +errchk: bugs/bug284.go:134: missing expected error: 'cannot|need type assertion' +errchk: bugs/bug284.go:137: missing expected error: 'cannot|need type assertion' +errchk: bugs/bug284.go:138: missing expected error: 'cannot|need type assertion' +errchk: bugs/bug284.go:139: missing expected error: 'cannot|need type assertion' errchk: bugs/bug284.go:149: missing expected error: 'cannot' -errchk: bugs/bug284.go:150: missing expected error: 'cannot' -errchk: bugs/bug284.go:160: missing expected error: 'cannot' -errchk: bugs/bug284.go:163: missing expected error: 'cannot' +errchk: bugs/bug284.go:152: missing expected error: 'cannot' +errchk: bugs/bug284.go:153: missing expected error: 'cannot' +errchk: bugs/bug284.go:154: missing expected error: 'cannot' errchk: bugs/bug284.go:164: missing expected error: 'cannot' -errchk: bugs/bug284.go:165: missing expected error: 'cannot' -errchk: bugs/bug284.go:175: missing expected error: 'cannot' -errchk: bugs/bug284.go:178: missing expected error: 'cannot' +errchk: bugs/bug284.go:167: missing expected error: 'cannot' +errchk: bugs/bug284.go:168: missing expected error: 'cannot' +errchk: bugs/bug284.go:169: missing expected error: 'cannot' errchk: bugs/bug284.go:179: missing expected error: 'cannot' -errchk: bugs/bug284.go:180: missing expected error: 'cannot' +errchk: bugs/bug284.go:182: missing expected error: 'cannot' +errchk: bugs/bug284.go:183: missing expected error: 'cannot' +errchk: bugs/bug284.go:184: missing expected error: 'cannot' errchk: bugs/bug284.go: unmatched error messages: ================================================== -bugs/bug284.go:186: internal compiler error: typename ideal +bugs/bug284.go:190: internal compiler error: typename ideal ================================================== =========== bugs/bug285.go @@ -233,4 +234,4 @@ bugs/bug285.go:93: invalid map index new(struct { x int }) - need type I1 bugs/bug285.go:94: invalid map index false - need type I1 bugs/bug285.go:95: invalid map index 17 - need type I1 bugs/bug285.go:95: too many errors -BUG: should compile +BUG: bug285 |