[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0453-3.cs
1 // CS0453: The type `Bar?' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Foo<T>'
2 // Line: 14
3 public class Foo<T>
4         where T : struct
5 { }
6
7 public struct Bar
8 { }
9
10 class X
11 {
12         static void Main ()
13         {
14                 Foo<Bar?> foo;
15         }
16 }