mirror of
https://github.com/golang/go
synced 2024-11-11 23:10:23 -07:00
bug129
package foo import "syscall" func f() { syscall := 1 } R=ken OCL=21036 CL=21036
This commit is contained in:
parent
c9859e7bc6
commit
889d9b6ffd
11
test/bugs/bug129.go
Normal file
11
test/bugs/bug129.go
Normal file
@ -0,0 +1,11 @@
|
||||
// $G $D/$F.go || echo BUG129
|
||||
|
||||
// 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 foo
|
||||
import "syscall"
|
||||
func f() {
|
||||
syscall := 1
|
||||
}
|
@ -164,6 +164,10 @@ BUG: errchk: command succeeded unexpectedly: 6g bugs/bug123.go
|
||||
=========== bugs/bug125.go
|
||||
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug125.go
|
||||
|
||||
=========== bugs/bug129.go
|
||||
bugs/bug129.go:6: syscall is package, not var
|
||||
BUG129
|
||||
|
||||
=========== fixedbugs/bug016.go
|
||||
fixedbugs/bug016.go:7: overflow converting constant to uint
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user