diff options
author | Russ Cox <rsc@golang.org> | 2009-08-03 11:58:52 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-08-03 11:58:52 -0700 |
commit | 7d972b8ae744caddba5c8ef163b95b612b8f643d (patch) | |
tree | 0802e78710de882ee76b248ff780b4385b36c1a5 /test/func4.go | |
parent | 4c103008001b549fbc78824f40f4636a4fa53b33 (diff) | |
download | go-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.go | 4 |
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" } |