test: add test that gofrontend failed to compile
test: add test that gofrontend failed to compile

For #51475

Change-Id: Ie1b27304687225194a323dc8305e5d62578fff4f
Reviewed-on: https://go-review.googlesource.com/c/go/+/414755
TryBot-Result: Gopher Robot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Run-TryBot: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>
Reviewed-by: Than McIntosh <4b2922593166fc595a9b1a408f34f5d3817fe9d2@google.com>
Reviewed-by: Cherry Mui <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>

golang/go,nawawi/go,nawawi/go,golang/go,golang/go,nawawi/go,golang/go,golang/go,nawawi/go,nawawi/go,nawawi/go,golang/go,nawawi/go,nawawi/go,golang/go,golang/go