8b2ef76e6baa339405e860b04ca68ed418f81e67
[platform/upstream/gcc.git] / libgo / go / sync / xadd_test.go
1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package sync
6
7 func Xadd(val *uint32, delta int32) (new uint32) {
8         return xadd(val, delta)
9 }