Commit 9639bd0d authored by Russ Cox's avatar Russ Cox

apply change suggested in CL 16658 review

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=18091
CL=18094
parent cf9e46fe
...@@ -30,6 +30,6 @@ func AddInst(Inst) *Inst { ...@@ -30,6 +30,6 @@ func AddInst(Inst) *Inst {
func main() { func main() {
re := new(Regexp); re := new(Regexp);
print("call addinst\n"); print("call addinst\n");
var x Inst = AddInst(new(Start)); var x Inst = AddInst(new(Start)); // ERROR "illegal"
print("return from addinst\n"); print("return from addinst\n");
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment