[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0034-4.cs
1 // CS0034: Operator `==' is ambiguous on operands of type `A' and `A'
2 // Line: 36
3
4 using System;
5
6 struct A
7 {
8         public static implicit operator string (A c)
9         {
10                 return null;
11         }
12
13         public static implicit operator Delegate (A c)
14         {
15                 return null;
16         }
17 }
18
19
20 class Program
21 {
22         public static void Main ()
23         {
24                 bool b = new A () == new A ();
25         }
26 }