summaryrefslogtreecommitdiff
path: root/test/ken/ptrfun.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/ken/ptrfun.go')
-rw-r--r--test/ken/ptrfun.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ken/ptrfun.go b/test/ken/ptrfun.go
index e7db3a94d..949cb823e 100644
--- a/test/ken/ptrfun.go
+++ b/test/ken/ptrfun.go
@@ -27,7 +27,7 @@ main()
var v int;
var c *C;
- c = new(C);
+ c = new(*C);
c.a = 6;
c.x = &g;