diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2009-11-07 23:55:22 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2009-11-07 23:55:22 +0100 |
commit | 0f44dc69adb225a3c5410234491fc8950ed935f7 (patch) | |
tree | 6e72401ed3d8cc88b4d5e9d297a78b8360cf8cd3 | |
parent | 491770df273ac2628c98a559fe8bbed5e812fbed (diff) | |
download | lock_free-0f44dc69adb225a3c5410234491fc8950ed935f7.zip lock_free-0f44dc69adb225a3c5410234491fc8950ed935f7.tar.gz |
add concat assignment in cas.c tests
-rw-r--r-- | cas.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -75,6 +75,16 @@ int test_cas () { return cas(&mem.split, old.split, new.split); } +void check_assign_a() { + pointer_t a, b; + a.concat = b.concat; +} + +void check_assign_b() { + pointer_t a, b; + a=b; +} + int main( int argc, char*argv[], char*env[] ) { int ret; |