test: add a test that causes gccgo to get a failure at link time

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/13788043