repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix LLVM linker flags for 6.0.
[mono-project.git]
/
mcs
/
tests
/
test-384.cs
blob
9a7c0e9c36d51ba5921b93ac966422f3e78b3aff
1
using
System
;
2
3
class
X
4
{
5
static int
Foo
=
10
;
6
7
static void
Test
()
8
{
9
while
(
true
) {
10
if
(
Foo
==
1
)
11
throw new
Exception
(
"Error Test"
);
12
else
13
break
;
14
}
15
16
Foo
=
20
;
17
}
18
19
public static int
Main
()
20
{
21
Test
();
22
if
(
Foo
!=
20
)
23
return
1
;
24
return
0
;
25
}
26
}