X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=testub10.git;a=blobdiff_plain;f=gesamt%2Fcodeb_abgabe_bh.call;fp=gesamt%2Fcodeb_abgabe_bh.call;h=5b44d8bd450c193d26c54d0a746c7f04082c428d;hp=0000000000000000000000000000000000000000;hb=db2886cc9203ecfa582f2a7ae83e6630187329aa;hpb=b69df8b7819d52f5f432fed67fc5a317d2c19d7f diff --git a/gesamt/codeb_abgabe_bh.call b/gesamt/codeb_abgabe_bh.call new file mode 100644 index 0000000..5b44d8b --- /dev/null +++ b/gesamt/codeb_abgabe_bh.call @@ -0,0 +1,6 @@ +typedef struct list {struct list *next; long val;} list; +list *insert(list *, long, list *); +list a={NULL,7}; +list b={NULL,2}; +RET((&a)==insert(&a, 3, &b) && + a.next==&b && a.val==3 && b.next==NULL && b.val==2);