[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0184-11.cs
1 // CS0184: The given expression is never of the provided (`bool') type
2 // Line: 13
3 // Compiler options: -warnaserror -warn:1
4
5 using System;
6
7 class X
8 {
9         void Foo ()
10         {
11                 int? i = null;
12                 
13                 if (i is bool) {
14                 }
15         }
16 }