aboutsummaryrefslogtreecommitdiff
path: root/test/ken/string.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/ken/string.go')
-rw-r--r--test/ken/string.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ken/string.go b/test/ken/string.go
index 3a15beeffa..7e3aa902b0 100644
--- a/test/ken/string.go
+++ b/test/ken/string.go
@@ -92,7 +92,7 @@ main()
}
/* create string with byte array pointer */
- z2 := new([3]byte);
+ z2 := new(*[3]byte);
z2[0] = 'a';
z2[1] = 'b';
z2[2] = 'c';