diff options
author | Russ Cox <rsc@golang.org> | 2011-04-21 08:20:29 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-04-21 08:20:29 -0400 |
commit | 68965e0180bb46608b866f768374a82f792a88b6 (patch) | |
tree | 65da68628de8d09e4d15a94e774812ba71cdd7ee /test | |
parent | 3205144ca03d7b93e818ceade5d755de26bdc865 (diff) | |
download | go-68965e0180bb46608b866f768374a82f792a88b6.tar.gz |
gc: another pointer to interface message
R=ken2
CC=golang-dev
http://codereview.appspot.com/4444056
Diffstat (limited to 'test')
-rw-r--r-- | test/interface/pointer.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/interface/pointer.go b/test/interface/pointer.go index e628b558e..076469c8d 100644 --- a/test/interface/pointer.go +++ b/test/interface/pointer.go @@ -33,4 +33,5 @@ func main() { print("call addinst\n") var x Inst = AddInst(new(Start)) // ERROR "pointer to interface" print("return from addinst\n") + var x *Inst = new(Start) // ERROR "pointer to interface" } |