diff options
author | Ken Thompson <ken@golang.org> | 2008-09-05 19:50:34 -0700 |
---|---|---|
committer | Ken Thompson <ken@golang.org> | 2008-09-05 19:50:34 -0700 |
commit | 0194aaf9188a39110b4a00aeb7ca7ae39508b6c2 (patch) | |
tree | de7673a4cc77918e413abebab2ee305a7aa47495 /test/ken/ptrfun.go | |
parent | e2e48e9a8ea26511ca7a090744b48a27500daaf1 (diff) | |
download | go-git-0194aaf9188a39110b4a00aeb7ca7ae39508b6c2.tar.gz |
T{} syntax for constructors
T(expression) for conversion
FUNC keyword no longer a type
R=r
OCL=14887
CL=14887
Diffstat (limited to 'test/ken/ptrfun.go')
-rw-r--r-- | test/ken/ptrfun.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ken/ptrfun.go b/test/ken/ptrfun.go index bfec64ff9f..e7db3a94d3 100644 --- a/test/ken/ptrfun.go +++ b/test/ken/ptrfun.go @@ -10,7 +10,7 @@ package main type C struct { a int; - x *func(p *C)int; + x *(p *C)int; } func g(p *C)int; |