[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0652.cs
1 // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte'
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
4
5 class X
6 {
7         void b ()
8         {
9                 byte b = 0;
10                 if (b == 500)
11                     return;
12         }
13
14         static void Main () {}
15 }