Update Haiku support (#15674)
[mono-project.git] / mono / tests / bug-323114.cs
blobef9ff992eb291bfe59333e28fffd5a01deba2749
1 using System;
3 public enum Enum64 : long
5 A = Int64.MaxValue,
8 delegate Enum64 EnumDelegate (Enum64 value);
10 class Test
12 static Enum64 Method (Enum64 value)
14 return value;
17 static int Main ()
19 EnumDelegate d = new EnumDelegate (Method);
20 Enum64 r = d.EndInvoke (d.BeginInvoke (Enum64.A, null, null));
21 return r == Enum64.A ? 0 : 1;