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
* TaskLoggingHelper.cs (LogErrorFromException): Add missing overload.
[mcs.git]
/
tests
/
test-623.cs
blob
03fce1597500f035a007dda377d538470a27ee9f
1
//
2
// fixed
3
//
4
interface
I
{
5
void
a
();
6
}
7
8
abstract class
X
:
I
{
9
public abstract void
a
();
10
}
11
12
class
Y
:
X
{
13
override public void
a
() {
14
System
.
Console
.
WriteLine
(
"Hello!"
);
15
return
;
16
}
17
18
static void
Main
() {
19
Y y
=
new
Y
();
20
21
((
I
)
y
).
a
();
22
}
23
}