summaryrefslogtreecommitdiffstats
path: root/cas.c
diff options
context:
space:
mode:
Diffstat (limited to 'cas.c')
-rw-r--r--cas.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/cas.c b/cas.c
index 284c6dc..910a56d 100644
--- a/cas.c
+++ b/cas.c
@@ -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;