Index: test/cctest/test-atomicops.cc |
diff --git a/test/cctest/test-atomicops.cc b/test/cctest/test-atomicops.cc |
index 5ac4d5e47358863a0671312c998859ec1e3bf445..4a59ba68e364cd8d14d097ff2ec904dd46dc77f5 100644 |
--- a/test/cctest/test-atomicops.cc |
+++ b/test/cctest/test-atomicops.cc |
@@ -193,6 +193,11 @@ |
NoBarrier_Store(&value, kVal2); |
CHECK_EQU(kVal2, value); |
+ Acquire_Store(&value, kVal1); |
+ CHECK_EQU(kVal1, value); |
+ Acquire_Store(&value, kVal2); |
+ CHECK_EQU(kVal2, value); |
+ |
Release_Store(&value, kVal1); |
CHECK_EQU(kVal1, value); |
Release_Store(&value, kVal2); |
@@ -233,6 +238,11 @@ |
CHECK_EQU(kVal1, Acquire_Load(&value)); |
value = kVal2; |
CHECK_EQU(kVal2, Acquire_Load(&value)); |
+ |
+ value = kVal1; |
+ CHECK_EQU(kVal1, Release_Load(&value)); |
+ value = kVal2; |
+ CHECK_EQU(kVal2, Release_Load(&value)); |
} |