+++ /dev/null
-// 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.
-
-// $G $D/$F.go || echo BUG: should compile
-
-package P
-
-var x int
-
-func f() int {
- return P.x // P should be visible
-}
-
-/*
-uetli:~/Source/go1/test/bugs gri$ 6g bug105.go
-bug105.go:8: P: undefined
-bug105.go:9: illegal types for operand: RETURN
- (<int32>INT32)
-*/
=========== chan/nonblock.go
PASS
-=========== bugs/bug041.go
-bugs/bug041.go:5: export of incomplete type t
-
=========== bugs/bug064.go
bugs/bug064.go:15: illegal types for operand: CALL
int
bugs/bug087.go:8: illegal combination of literals LEN 9
BUG: fails incorrectly
-=========== bugs/bug105.go
-bugs/bug105.go:8: P: undefined
-bugs/bug105.go:8: illegal types for operand: RETURN
- int
-BUG: should compile
-
=========== bugs/bug108.go
bugs/bug108.go:4: stupid shift: 1025
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go
fixedbugs/bug039.go:6: variable x redeclared in this block
previous declaration at fixedbugs/bug039.go:5
+=========== fixedbugs/bug041.go
+fixedbugs/bug041.go:5: export of incomplete type t
+
=========== fixedbugs/bug049.go
fixedbugs/bug049.go:6: illegal conversion of nil to string