c25edd44a0
Fix a bug in the generation of the hash value in reflect.FuncOf. The merge script missed a bunch of testdata files over the years. Copy them over. Reviewed-on: https://go-review.googlesource.com/35570 From-SVN: r244835
31 lines
307 B
Plaintext
31 lines
307 B
Plaintext
//gofmt -s
|
|
|
|
// Test cases for range simplification.
|
|
package p
|
|
|
|
func _() {
|
|
for a, b = range x {
|
|
}
|
|
for a = range x {
|
|
}
|
|
for _, b = range x {
|
|
}
|
|
for range x {
|
|
}
|
|
|
|
for a = range x {
|
|
}
|
|
for range x {
|
|
}
|
|
|
|
for a, b := range x {
|
|
}
|
|
for a := range x {
|
|
}
|
|
for _, b := range x {
|
|
}
|
|
|
|
for a := range x {
|
|
}
|
|
}
|