test: add test case miscompiled by gccgo

R=golang-dev, bradfitz, rsc, iant
CC=golang-dev
https://codereview.appspot.com/7240043