Codeb Abgabe Testfaelle
[testub10.git] / codeb / abgabe_bh.call
diff --git a/codeb/abgabe_bh.call b/codeb/abgabe_bh.call
new file mode 100644 (file)
index 0000000..5b44d8b
--- /dev/null
@@ -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);