projects
/
rune.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Rune - Content-locking work 1/2
[rune.git]
/
tests
/
varseq.d
1
#!/usr/local/bin/rune -x
2
#
3
# Register allocator tests
4
5
library limport "sys";
6
7
int
8
main(int ac, char **av)
9
{
10
int j;
11
{
12
int i;
13
14
i = 1;
15
++i;
16
if (i)
17
--j;
18
}
19
{
20
int i;
21
22
i = 2;
23
++i;
24
if (i)
25
--j;
26
}
27
{
28
int i;
29
30
i = 3;
31
++i;
32
if (i)
33
--j;
34
}
35
{
36
int i;
37
38
i = 4;
39
++i;
40
if (i)
41
--j;
42
}
43
{
44
int i;
45
46
i = 5;
47
++i;
48
if (i)
49
--j;
50
}
51
{
52
int i;
53
54
i = 6;
55
++i;
56
if (i)
57
--j;
58
}
59
}