projects
/
testub10.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[gesamt] Added two simples testcases
[testub10.git]
/
codeb
/
codea_ag_snafu_04.3
1
struct
2
a b c
3
end;
4
5
method bar(d e f)
6
var foo := a;
7
foo := b - c;
8
var bar := d - (e * f);
9
10
if(4 = 2) then
11
var x := 1;
12
var hiho := 0;
13
else
14
var hiho := 0x1f;
15
end;
16
17
if(9 < 8) then
18
var hohi := 12;
19
else
20
var hiho := 2;
21
end;
22
23
24
return hiho; /* hiho existiert nicht */
25
end;
26
27
struct
28
g
29
h
30
end;