projects
/
testub10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bench.sh zaehlt nur dann die Instruktionen, wenn eine Referenzdatei existiert.
[testub10.git]
/
codea
/
snafu_06.call
diff --git
a/codea/snafu_06.call
b/codea/snafu_06.call
index e792f9693ffb74792a591c4974101728d80d9ef8..ecb435a5cdf3bff3621a25737a823e32c543e1da 100644
(file)
--- a/
codea/snafu_06.call
+++ b/
codea/snafu_06.call
@@
-1,5
+1,21
@@
long test64(long);
long test64(long);
+long num(long);
+long num2(long);
+long globcmp(long*);
+long globcmp2(long*);
+
+
+long foo[] = {1337, 42};
+long bar[] = {23, 23};
+long foobar[] = {23, 42};
RET((test64(0x1000000000) == (long) 0x1000000000 - (int) 0x80808080)
&& (num(0) == -4)
RET((test64(0x1000000000) == (long) 0x1000000000 - (int) 0x80808080)
&& (num(0) == -4)
- && (num2(0) == 26));
+ && (num2(0) == 26)
+ && (globcmp(foo) == 0)
+ && (globcmp(bar) == 0)
+ && (globcmp(foobar) == 1)
+ && (globcmp2(foo) == 0)
+ && (globcmp2(bar) == 1)
+ && (globcmp2(foobar) == 0)
+ );