[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0452-11.cs
1 // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `Program.M<T>(T, T)'
2 // Line: 8
3
4 class Program
5 {
6         public static void M<T> (T item1, T item2 = null) where T : class
7         {
8                 M (1);
9         }
10 }