☰
Debian Codegraph
@
2:0.22.0+ds-2
2:0.22.0+ds-1
/
/
go
/
ssa
/
interp
/
testdata
/
reflect.go
☽
☼
go/ssa/interp/testdata/reflect.go
code
plain
raw
symbols
SCIP
BSD-3-clause
2009 The Go Authors
debian/copyright
1
package
main
2
3
import
"reflect"
4
5
func
main() {
6
// Regression test for issue 9462.
7
got := reflect.
SliceOf
(reflect.
TypeOf
(byte(
0
))).
String
()
8
if
got !=
"[]uint8"
&& got !=
"[]byte"
{
// result varies by toolchain
9
println(
"BUG: "
+ got)
10
}
11
}