Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / test-641.cs
blob6428c92a111d923d77c318219b32df39bdb28fed
1 using System;
3 public class Identifier
5 public Identifier () { }
7 public static bool operator == (Identifier id1, Identifier id2)
9 return true;
11 public static bool operator != (Identifier id1, Identifier id2)
13 return true;
16 public static implicit operator Identifier (string identifier)
18 return null;
21 public static implicit operator String (Identifier id)
23 return null;
26 public static implicit operator decimal (Identifier id)
28 return -1;
31 public static int Main ()
33 Identifier a = null;
34 string b = "a";
36 if (!(a == b))
37 return 1;
39 decimal d = 5;
40 if (a == d)
41 return 2;
43 return 0;