Initial commit: Go 1.23 release state
This commit is contained in:
8
test/fixedbugs/issue4326.dir/q1.go
Normal file
8
test/fixedbugs/issue4326.dir/q1.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package q1
|
||||
|
||||
func Deref(typ interface{}) interface{} {
|
||||
if typ, ok := typ.(*int); ok {
|
||||
return *typ
|
||||
}
|
||||
return typ
|
||||
}
|
||||
Reference in New Issue
Block a user