[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-null-operator-18.cs
1 using System;
2
3 static class MainClass
4 {
5         public static void Main()
6         {
7                 TestBug();
8         }
9
10         public static void TestBug()
11         {
12                 int? value = null;
13                 value?.Test();
14         }
15
16         public static void Test(this int value)
17         {
18                 Console.WriteLine("Not null");
19         }
20 }