projects
/
testub10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Codeb Abgabe Testfaelle
[testub10.git]
/
gesamt
/
codeb_abgabe_bh.call
diff --git a/gesamt/codeb_abgabe_bh.call
b/gesamt/codeb_abgabe_bh.call
new file mode 100644
(file)
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);