compiler/cl: fix named slice type
This commit is contained in:
11
compiler/cl/_testrt/namedslice/in.go
Normal file
11
compiler/cl/_testrt/namedslice/in.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
type MyBytes []byte
|
||||
|
||||
func main() {
|
||||
var i any = MyBytes{}
|
||||
_, ok := i.(MyBytes)
|
||||
if !ok {
|
||||
panic("bad slice")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user