cmd/compile: add test for non interface type switch
cmd/compile: add test for non interface type switch

Ensure that we have a test for when the compiler
encounters a type switch on a non-interface value.

Change-Id: Icb222f986894d0190e1241ca65396b4950e7d14f
Reviewed-on: https://go-review.googlesource.com/38661
Reviewed-by: Josh Bleecher Snyder <cdc248cc4d32e4fbfe04e45228163bcecd48a0b9@gmail.com>
Run-TryBot: Josh Bleecher Snyder <cdc248cc4d32e4fbfe04e45228163bcecd48a0b9@gmail.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

CAFxX/go,derekmarcotte/go,polyverse-security/go,CAFxX/go,derekmarcotte/go,Cofyc/go,codestation/go,linux-on-ibm-z/go,vsekhar/elastic-go,codestation/go,linux-on-ibm-z/go,nawawi/go,nawawi/go,derekmarcotte/go,josharian/go,polyverse-security/go,polyverse-security/go,linux-on-ibm-z/go,linux-on-ibm-z/go,josharian/go,josharian/go,vsekhar/elastic-go,polyverse-security/go,Cofyc/go,josharian/go,josharian/go,cloudflare/go,Cofyc/go,golang/go,akutz/go,codestation/go,golang/go,linux-on-ibm-z/go,vsekhar/elastic-go,linux-on-ibm-z/go,cloudflare/go,CAFxX/go,Cofyc/go,nawawi/go,ImJasonH/go,akutz/go,codestation/go,CAFxX/go,josharian/go,cloudflare/go,polyverse-security/go,vsekhar/elastic-go,Cofyc/go,akutz/go,nawawi/go,cloudflare/go,golang/go,ImJasonH/go,codestation/go,Cofyc/go,golang/go,akutz/go,vsekhar/elastic-go,akutz/go,Cofyc/go,golang/go,CAFxX/go,CAFxX/go,derekmarcotte/go,linux-on-ibm-z/go,polyverse-security/go,Cofyc/go,nawawi/go,ImJasonH/go,nawawi/go,codestation/go,vsekhar/elastic-go,cloudflare/go,ImJasonH/go,vsekhar/elastic-go,cloudflare/go,akutz/go,nawawi/go,christopher-henderson/Go,linux-on-ibm-z/go,nawawi/go,polyverse-security/go,akutz/go,ImJasonH/go,golang/go,vsekhar/elastic-go,CAFxX/go,derekmarcotte/go,CAFxX/go,derekmarcotte/go,ImJasonH/go,golang/go,ImJasonH/go,polyverse-security/go,golang/go,derekmarcotte/go,codestation/go,codestation/go,ImJasonH/go,derekmarcotte/go,cloudflare/go,akutz/go,cloudflare/go,josharian/go,josharian/go