[gesamt] Added ag/codea/codeb testcases
[testub10.git] / gesamt / codeb_intelli_15.call
diff --git a/gesamt/codeb_intelli_15.call b/gesamt/codeb_intelli_15.call
new file mode 100644 (file)
index 0000000..a004b8d
--- /dev/null
@@ -0,0 +1,7 @@
+extern long long m1(long long *this, long long size);
+extern long long m2(long long this, long long y);
+
+long long ar[] = { 2, 4, 8, 16, 32 };
+
+RET(m1(ar, 3) == -20 && ar[0] == 22 && ar[1] == 150 && ar[2] == 150 &&
+m2(0xABC, 101) == 0 && m2(0xABC, -5) == -20 && m2(0xABC, 100) == 320);
\ No newline at end of file