cosmetic
[mcs.git] / tests / test-340.cs
blob7e637a50c3c59d88a44505001e16c2d96fbfbdd2
1 //
2 // Fix for bug: 71819, we were producing the wrong
3 // opcodes when loading parameters in the proxy produced
4 // by the compiler in class B to implement IB.
5 //
6 namespace FLMID.Bugs.BoolOne
8 public interface IB
10 void Add(bool v1, bool v2, uint v3, bool v4);
13 public class A
15 public static bool ok;
17 public void Add(bool v1, bool v2, uint v3, bool v4)
19 ok = v4;
23 public class B : A, IB
27 public class Test
29 public static int Main(string[] args)
31 IB aux = new B();
33 aux.Add(false, false, 0, true);
34 return A.ok ? 0 : 1;