Commit a785e8ac authored by Rob Pike's avatar Rob Pike

replaced baked-in address with @ so test passes on linux

R=rsc
OCL=17841
CL=17841
parent b379d54d
......@@ -149,7 +149,7 @@ func main() {
var i int = 7;
var tmp = &T{123, 456.0, "hello", &i};
value := reflect.NewValue(tmp);
assert(reflect.ValueToString(value.(reflect.PtrValue).Sub()), "main.T{123, +4.560000e+02, hello, *int32(134980)}");
assert(reflect.ValueToString(value.(reflect.PtrValue).Sub()), "main.T{123, +4.560000e+02, hello, *int32(@)}");
}
{
type C chan *T; // TODO: should not be necessary
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment