repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git]
/
tests
/
test-384.cs
blob
59fb697812dd0a47c9467f5832e8d560c5790964
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
static int
Main
()
20
{
21
Test
();
22
if
(
Foo
!=
20
)
23
return
1
;
24
return
0
;
25
}
26
}