projects
/
uebersetzerbau-ss10.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
doc: paulchen beispiele {code{a,b},gesamt} entpackt (jedes mal entpacken nervt langsa...
[uebersetzerbau-ss10.git]
/
aus_sammelwut
/
paulchen
/
ublu
/
ss08
/
abgabe
/
codeb
/
testcases
/
.svn
/
text-base
/
g7.call.svn-base
1
extern long g7(long a, long b);
2
3
int check_arg2(long (*function)(long, long), long blubb[2][2]) {
4
int ret,a,b;
5
ret=1;
6
for(a=0;a<2;a++) {
7
for(b=0;b<2;b++) {
8
ret&=(function(a,b)==blubb[a][b]);
9
}
10
}
11
return ret;
12
}
13
14
long ret_g7[2][2]={{0,0},{1,0}};
15
16
return check_arg2(g7,ret_g7);
17
18