// This is the function we'll be testing. // It has a simple write barrier in it. func setGlobalPointer() { … } var globalPointer … func TestUnsafePoint(t *testing.T) { … }
// This is the function we'll be testing. // It has a simple write barrier in it. func setGlobalPointer() { … } var globalPointer … func TestUnsafePoint(t *testing.T) { … }