diff options
Diffstat (limited to 'mcs/tests/test-15.cs')
-rwxr-xr-x | mcs/tests/test-15.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/tests/test-15.cs b/mcs/tests/test-15.cs new file mode 100755 index 00000000000..c199bc13bcb --- /dev/null +++ b/mcs/tests/test-15.cs @@ -0,0 +1,22 @@ +using System; + +interface Iface { + void A (); +} + +class Implementor : Iface { + public void A () {} +} + +class Run { + + static int Main () + { + Iface iface; + Implementor i = new Implementor (); + + iface = i; + + return 0; + } +} |