Files
clang-p2996/llgo/third_party/gotools/go/ssa/interp/testdata/reflect.go
Peter Collingbourne 56109b78c7 Roll gotools to 47f2109c.
At the same time, perform a number of simplifications:

- Rename go.tools directory to gotools.

- Import only the go directory; all required Go analysis code and
  its dependencies have now been moved to this directory.

llvm-svn: 225825
2015-01-13 20:45:08 +00:00

12 lines
242 B
Go

package main
import "reflect"
func main() {
// Regression test for issue 9462.
got := reflect.SliceOf(reflect.TypeOf(byte(0))).String()
if got != "[]uint8" && got != "[]byte" { // result varies by toolchain
println("BUG: " + got)
}
}