summaryrefslogtreecommitdiff
path: root/test/import.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-10-27 19:41:39 -0700
committerRuss Cox <rsc@golang.org>2011-10-27 19:41:39 -0700
commit7bdef0e56fe239488df13b702e5b3a55175ed67d (patch)
tree7c3e28950e4758fc5055ee9f8576a8a216f5b8dc /test/import.go
parent7ef5e32b61cafa11f4c3df01873f0bc157a3eb31 (diff)
downloadgo-7bdef0e56fe239488df13b702e5b3a55175ed67d.tar.gz
test: error-related fixes
R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5328051
Diffstat (limited to 'test/import.go')
-rw-r--r--test/import.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/import.go b/test/import.go
index 96330340d..bd83dc3bd 100644
--- a/test/import.go
+++ b/test/import.go
@@ -13,13 +13,12 @@ import _os_ "os"
import "os"
import . "os"
-func f(e os.Error)
+func f(e *os.File)
func main() {
- var _e_ _os_.Error
- var dot Error
+ var _e_ *_os_.File
+ var dot *File
f(_e_)
f(dot)
}
-