diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
commit | 3e45412327a2654a77944249962b3652e6142299 (patch) | |
tree | bc3bf69452afa055423cbe0c5cfa8ca357df6ccf /test/compos.go | |
parent | c533680039762cacbc37db8dc7eed074c3e497be (diff) | |
download | golang-upstream/2011.01.12.tar.gz |
Imported Upstream version 2011.01.12upstream/2011.01.12
Diffstat (limited to 'test/compos.go')
-rw-r--r-- | test/compos.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/compos.go b/test/compos.go index 78a7965ef..70f90f379 100644 --- a/test/compos.go +++ b/test/compos.go @@ -7,7 +7,7 @@ package main type T struct { - int; + int } func f() *T { @@ -15,9 +15,9 @@ func f() *T { } func main() { - x := f(); - y := f(); + x := f() + y := f() if x == y { - panic("not allocating & composite literals"); + panic("not allocating & composite literals") } } |