[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mono / tests / generic-typedef.2.cs
1 using System;
2
3 public class Gen<T> {}
4
5 static class Stuff
6 {
7     public static Type GetOpenType <T> ()
8     {
9         return typeof (Gen<>);
10     }
11
12     public static Type GetClosedType <T> ()
13     {
14         return typeof (Gen<T>);
15     }
16
17     static int Main (string[] args)
18     {
19         if (GetOpenType<string> () != typeof (Gen<>))
20             return 1;
21         if (GetClosedType<string> () != typeof (Gen<string>))
22             return 1;
23         return 0;
24     }
25 }