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 | 695e0787f50e04e4e4e0b7385c09b6356476592d (patch) | |
tree | de7673a4cc77918e413abebab2ee305a7aa47495 /test/ken/ptrfun.go | |
parent | 92aa4a15214a705cd0bec198ea8e160cd34ff8dd (diff) | |
download | go-695e0787f50e04e4e4e0b7385c09b6356476592d.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 bfec64ff9..e7db3a94d 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; |