aboutsummaryrefslogtreecommitdiff
path: root/test/interface
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/interface
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/interface')
-rw-r--r--test/interface/pointer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interface/pointer.go b/test/interface/pointer.go
index 202c37d860..d94ec7cada 100644
--- a/test/interface/pointer.go
+++ b/test/interface/pointer.go
@@ -32,6 +32,6 @@ func AddInst(Inst) *Inst {
func main() {
re := new(Regexp);
print("call addinst\n");
- var x Inst = AddInst(new(Start)); // ERROR "illegal|incompatible"
+ var x Inst = AddInst(new(Start)); // ERROR "illegal|incompatible|is not"
print("return from addinst\n");
}