diff options
author | Russ Cox <rsc@golang.org> | 2011-04-08 13:42:20 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-04-08 13:42:20 -0400 |
commit | 2dd2fb0e6119f499a14f6d80bbea6dd0487f36e0 (patch) | |
tree | 18f1b60d1f3e153bddd92cb08ad1fd91f0e4d2a3 /test/fixedbugs | |
parent | 0aa6cb8b68bd7c327c121061e284ab8728c2bbcb (diff) | |
download | go-2dd2fb0e6119f499a14f6d80bbea6dd0487f36e0.tar.gz |
bug327: document what's being tested
R=r
CC=golang-dev
http://codereview.appspot.com/4380043
Diffstat (limited to 'test/fixedbugs')
-rw-r--r-- | test/fixedbugs/bug327.go | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/test/fixedbugs/bug327.go b/test/fixedbugs/bug327.go index 10f309da4..4ba5f6072 100644 --- a/test/fixedbugs/bug327.go +++ b/test/fixedbugs/bug327.go @@ -4,15 +4,21 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Conversion between identical interfaces. +// Issue 1647. + +// The compiler used to not realize this was a no-op, +// so it generated a call to the non-existent function runtime.convE2E. + package main type ( - a interface{} - b interface{} + a interface{} + b interface{} ) func main() { - x := a(1) - z := b(x) - _ = z + x := a(1) + z := b(x) + _ = z } |