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