summaryrefslogtreecommitdiff
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
commit7d972b8ae744caddba5c8ef163b95b612b8f643d (patch)
tree0802e78710de882ee76b248ff780b4385b36c1a5 /test/func4.go
parent4c103008001b549fbc78824f40f4636a4fa53b33 (diff)
downloadgo-7d972b8ae744caddba5c8ef163b95b612b8f643d.tar.gz
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 f9e394fdf..bcf5b93fa 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"
}