https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65272
Bug ID: 65272 Summary: switch on type of interface failing Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: JamesMikeDuPont at googlemail dot com CC: cmang at google dot com package test; func clr(q interface{}) { switch x := q.(type) { case *x: return } occurs in : https://github.com/cznic/ql/blob/master/btree.go