blob: 7e637a50c3c59d88a44505001e16c2d96fbfbdd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//
// Fix for bug: 71819, we were producing the wrong
// opcodes when loading parameters in the proxy produced
// by the compiler in class B to implement IB.
//
namespace FLMID.Bugs.BoolOne
{
public interface IB
{
void Add(bool v1, bool v2, uint v3, bool v4);
}
public class A
{
public static bool ok;
public void Add(bool v1, bool v2, uint v3, bool v4)
{
ok = v4;
}
}
public class B : A, IB
{
}
public class Test
{
public static int Main(string[] args)
{
IB aux = new B();
aux.Add(false, false, 0, true);
return A.ok ? 0 : 1;
}
}
}
|