atomic.AddUintptr(x, 42)
}
+func AndInt32(x *int32) { // ERROR "x does not escape$"
+ atomic.AndInt32(x, 42)
+}
+func AndUint32(x *uint32) { // ERROR "x does not escape$"
+ atomic.AndUint32(x, 42)
+}
+func AndUintptr(x *uintptr) { // ERROR "x does not escape$"
+ atomic.AndUintptr(x, 42)
+}
+
func CompareAndSwapInt32(x *int32) { // ERROR "x does not escape$"
atomic.CompareAndSwapInt32(x, 42, 42)
}
atomic.LoadUintptr(x)
}
+func OrInt32(x *int32) { // ERROR "x does not escape$"
+ atomic.OrInt32(x, 42)
+}
+func OrUint32(x *uint32) { // ERROR "x does not escape$"
+ atomic.OrUint32(x, 42)
+}
+func OrUintptr(x *uintptr) { // ERROR "x does not escape$"
+ atomic.OrUintptr(x, 42)
+}
+
func StoreInt32(x *int32) { // ERROR "x does not escape$"
atomic.StoreInt32(x, 42)
}
atomic.AddUint64(x, 42)
}
+func AndInt64(x *int64) { // ERROR "x does not escape$"
+ atomic.AndInt64(x, 42)
+}
+func AndUint64(x *uint64) { // ERROR "x does not escape$"
+ atomic.AndUint64(x, 42)
+}
+
func CompareAndSwapInt64(x *int64) { // ERROR "x does not escape$"
atomic.CompareAndSwapInt64(x, 42, 42)
}
atomic.LoadUint64(x)
}
+func OrInt64(x *int64) { // ERROR "x does not escape$"
+ atomic.OrInt64(x, 42)
+}
+func OrUint64(x *uint64) { // ERROR "x does not escape$"
+ atomic.OrUint64(x, 42)
+}
+
func StoreInt64(x *int64) { // ERROR "x does not escape$"
atomic.StoreInt64(x, 42)
}