From 0f44dc69adb225a3c5410234491fc8950ed935f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 7 Nov 2009 23:55:22 +0100 Subject: add concat assignment in cas.c tests --- cas.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; -- cgit v1.1-2-g2b99