Codeb Abgabe Testfaelle
[testub10.git] / gesamt / codeb_abgabe_bi.call
diff --git a/gesamt/codeb_abgabe_bi.call b/gesamt/codeb_abgabe_bi.call
new file mode 100644 (file)
index 0000000..6c129e1
--- /dev/null
@@ -0,0 +1,9 @@
+typedef struct foo {long a; long b; long c;} foo;
+extern foo *m(foo *, long);
+foo s1={29,37,41};
+foo s2={6,28,216};
+
+RET((&s1)==m(&s1,25) && (&s2)==m(&s2,0) &&
+    s1.a==36 && s1.b==23 && s1.c==94 &&
+    s2.a==17 && s2.b==11 && s2.c==46);
+