Browse Source

Testing atomicity.

Richard Crowley 14 years ago
parent
commit
488dcee477
1 changed files with 8 additions and 0 deletions
  1. 8 0
      test.go

+ 8 - 0
test.go

@@ -0,0 +1,8 @@
+package main
+
+func main() {
+	var a, b int64
+	a = 47
+	b = a
+	a = b
+}