aboutsummaryrefslogtreecommitdiff
path: root/test/func4.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-03 11:58:52 -0700
committerRuss Cox <rsc@golang.org>2009-08-03 11:58:52 -0700
commit9dc22b6d6fbd62ce127dbad1bdbfbb073ad7c4af (patch)
tree0802e78710de882ee76b248ff780b4385b36c1a5 /test/func4.go
parent178089056ea9dae2c2807f0b5b475c2caf09fde3 (diff)
downloadgo-9dc22b6d6fbd62ce127dbad1bdbfbb073ad7c4af.tar.gz
go-9dc22b6d6fbd62ce127dbad1bdbfbb073ad7c4af.zip
more 6g reorg; checkpoint.
typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
Diffstat (limited to 'test/func4.go')
-rw-r--r--test/func4.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/func4.go b/test/func4.go
index f9e394fdf7..bcf5b93fa4 100644
--- a/test/func4.go
+++ b/test/func4.go
@@ -9,6 +9,6 @@ package main
var notmain func()
func main() {
- var x = &main; // ERROR "address of function|invalid"
- main = notmain; // ERROR "assign to function|invalid"
+ var x = &main; // ERROR "address of|invalid"
+ main = notmain; // ERROR "assign to|invalid"
}