X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=testub10.git;a=blobdiff_plain;f=gesamt%2Fcodeb_abgabe_bg.call;fp=gesamt%2Fcodeb_abgabe_bg.call;h=41d2795de830d6ac62fea257c5de78a96b784952;hp=0000000000000000000000000000000000000000;hb=db2886cc9203ecfa582f2a7ae83e6630187329aa;hpb=b69df8b7819d52f5f432fed67fc5a317d2c19d7f diff --git a/gesamt/codeb_abgabe_bg.call b/gesamt/codeb_abgabe_bg.call new file mode 100644 index 0000000..41d2795 --- /dev/null +++ b/gesamt/codeb_abgabe_bg.call @@ -0,0 +1,9 @@ +typedef struct list {struct list *next; } list; + +extern long length(list *); +list a={NULL}; +list b={&a}; +list c={&b}; +list d={&c}; +list e={&a}; +RET(2==length(&e) && 4==length(&d));