mirror of https://github.com/golang/go.git
parent
c78005f648
commit
6c5fc055c8
|
|
@ -0,0 +1,15 @@
|
|||
// errchk $G $D/$F.go
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
OS "os" // should require semicolon here; this is no different from other decls
|
||||
IO "io"
|
||||
)
|
||||
|
||||
func main() {
|
||||
}
|
||||
|
|
@ -125,7 +125,7 @@ BUG: errchk: command succeeded unexpectedly: 6g bugs/bug104.go
|
|||
|
||||
=========== bugs/bug105.go
|
||||
bugs/bug105.go:8: P: undefined
|
||||
bugs/bug105.go:8: illegal types for operand: RETURN
|
||||
bugs/bug105.go:9: illegal types for operand: RETURN
|
||||
int
|
||||
BUG: should compile
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ BUG: bug115 should compile
|
|||
|
||||
=========== bugs/bug117.go
|
||||
bugs/bug117.go:9: undefined DOT get on PS
|
||||
bugs/bug117.go:9: illegal types for operand: RETURN
|
||||
bugs/bug117.go:10: illegal types for operand: RETURN
|
||||
int
|
||||
BUG: should compile
|
||||
|
||||
|
|
@ -169,6 +169,9 @@ BUG: errchk: command succeeded unexpectedly: 6g bugs/bug123.go
|
|||
=========== bugs/bug124.go
|
||||
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug124.go
|
||||
|
||||
=========== bugs/bug125.go
|
||||
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug125.go
|
||||
|
||||
=========== fixedbugs/bug016.go
|
||||
fixedbugs/bug016.go:7: overflow converting constant to uint
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue