[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs1718-2.cs
1 // CS1718: A comparison made to same variable. Did you mean to compare something else?
2 // Line: 12
3 // Compiler options: -warnaserror -warn:3
4
5 class A
6 {
7         delegate void D ();
8         D d = null;
9         
10         public A ()
11         {
12                 bool b = d == d;
13         }
14 }