Merge pull request #496 from nicolas-raoul/unit-test-for-issue2907
[mono.git] / mcs / tests / test-824.cs
1 // Compiler options: -r:test-824-lib.dll
2 using System;
3
4 class Context : IZZZ
5 {
6         public void Foo (IBBB command)
7         {
8         }
9
10         public void Foo (IAAA query)
11         {
12                 throw new System.NotImplementedException ();
13         }
14 }
15
16 class Test : IAAA, IBBB
17 {
18         public static void Main ()
19         {
20                 Test cmd = new Test ();
21                 IZZZ context = new Context ();
22                 context.Foo (cmd);
23         }
24 }