[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-563.cs
1 using System;
2
3 struct S
4 {
5 }
6
7 class C<U>
8 {
9         static void Foo<T> (T value) where T : U
10         {
11         }
12
13         public static void Test (S? s)
14         {
15                 C<S?>.Foo (s);
16                 C<ValueType>.Foo (s);
17                 C<object>.Foo (s);
18         }
19 }
20
21 class M
22 {
23         public static void Main ()
24         {
25                 C<int>.Test (null);
26         }
27 }