summaryrefslogtreecommitdiff
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
commit7d972b8ae744caddba5c8ef163b95b612b8f643d (patch)
tree0802e78710de882ee76b248ff780b4385b36c1a5 /test/interface
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/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 202c37d86..d94ec7cad 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");
}