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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
test-524.cs
blob
913061a0281951244a4725d1ff19f12fe3607e84
1
using
System
;
2
3
public class
Foo
4
{
5
public static int
Main
()
6
{
7
try
{
8
lock
(
null
) {
9
return
1
;
10
}
11
}
catch
(
ArgumentNullException
) {
12
}
13
14
for
(
int
i
=
0
;
i
<
3
; ++
i
) {
15
object
token
=
new object
();
16
17
lock
(
token
)
18
{
19
token
=
null
;
20
}
21
}
22
23
return
0
;
24
}
25
}