projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-18 Zoltan Varga <vargaz@gmail.com>
[mono.git]
/
mono
/
tests
/
nested-loops.cs
1
2
public class NestedLoop {
3
static public int Main() {
4
int n = 16;
5
int x = 0;
6
int a = n;
7
while (a-- != 0) {
8
int b = n;
9
while (b-- != 0) {
10
int c = n;
11
while (c-- != 0) {
12
int d = n;
13
while (d-- != 0) {
14
int e = n;
15
while (e-- != 0) {
16
int f = n;
17
while (f-- != 0) {
18
x++;
19
}
20
}
21
}
22
}
23
}
24
}
25
if (x != 16777216)
26
return 1;
27
return 0;
28
}
29
}
30
31