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
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
test-858.cs
blob
78fe95c4d02816fc59f05a8deeb090c5388b028c
1
// Compiler options: -r:test-858-lib.dll
2
3
using
System
;
4
5
class
X
6
{
7
public static int
Main
()
8
{
9
Bar bar
=
new
Bar
();
10
if
(
bar
.
Message
!=
"bar"
)
11
return
1
;
12
13
Foo foo
=
new
Foo
();
14
if
(
foo
.
Message
!=
"foo"
)
15
return
2
;
16
17
C c
=
new
C
();
18
c
.
get_Value
();
19
c
.
add_Arg
(
false
);
20
21
Console
.
WriteLine
(
"Test ok"
);
22
return
0
;
23
}
24
}