summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue4326.dir/q1.go
blob: f118eb09252a48c51942b1f602d637620afd1a12 (plain)
1
2
3
4
5
6
7
8
package q1

func Deref(typ interface{}) interface{} {
      if typ, ok := typ.(*int); ok {
            return *typ
      }
      return typ
}