projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add CopyPath, CopyPathFlat, AppendPath
[mono.git]
/
mcs
/
tests
/
test-197.cs
1
using System;
2
3
public interface A
4
{
5
void Foo ();
6
}
7
8
public interface B : A
9
{ }
10
11
public abstract class X : A
12
{
13
public abstract void Foo ();
14
}
15
16
public abstract class Y : X, B
17
{ }
18
19
public class Z : Y
20
{
21
public override void Foo ()
22
{
23
Console.WriteLine ("Hello World!");
24
}
25
}
26
27
class Test
28
{
29
public static int Main ()
30
{
31
Z z = new Z ();
32
A a = z;
33
a.Foo ();
34
return 0;
35
}
36
}