compiler: Reject type switch using non-interface type.
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 11 Aug 2012 04:09:21 +0000 (04:09 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 11 Aug 2012 04:09:21 +0000 (04:09 +0000)
commit3af76e5a95e8cef562136a40a78bb19f83df59dd
tree1ee84031cdc6b2307a5388a951c30e9a28326c5e
parent7380e6efdd990e0286da69d7b583240eccf40694
compiler: Reject type switch using non-interface type.

Fixes issue 16.

From-SVN: r190310
gcc/go/gofrontend/statements.cc