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-788.cs
blob
a5d2cd10e604a6c17eb27946a1e5cb812c43b3c0
1
using
System
;
2
3
class
Program
4
{
5
public static int
Main
()
6
{
7
B b
=
new
B
();
8
if
(
b
.
Message
!=
"OK"
)
9
return
1
;
10
return
0
;
11
}
12
}
13
14
class
A
15
{
16
public virtual string
Message
17
{
18
get
19
{
20
return
"OK"
;
21
}
22
}
23
}
24
25
class
B
:
A
26
{
27
new string
Message
28
{
29
get
30
{
31
throw new
Exception
();
32
}
33
}
34
}
35