[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0019-61.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `S?' and `int'
2 // Line: 15
3
4 struct S
5 {
6         public static bool operator != (S s, int a) { return true; }
7         public static bool operator == (S s, int a) { return false; }
8 }
9
10 public class C
11 {
12         public static void Main ()
13         {
14                 S? s;
15                 var b = s == 1;
16         }
17 }