mirror of
https://github.com/golang/go
synced 2024-11-22 00:04:41 -07:00
test/fixedbug: drop obsolete bug125, bug166
R=gri CC=golang-dev https://golang.org/cl/173044
This commit is contained in:
parent
581530e441
commit
b301351df9
@ -1,15 +0,0 @@
|
||||
// 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" // ERROR "missing|syntax"
|
||||
)
|
||||
|
||||
func main() {
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
// 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"
|
||||
func fn() {
|
||||
var e os.Error
|
||||
if e == nil { // ERROR "syntax error|expected ';'"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user