[CI] ignore appdomain-unload-asmload.exe on interp and full-aot
[mono.git] / mono / tests / generic-virtual.2.cs
index eb97cf3d1622ba4e5de9aa457e9273a885c5f33a..3cf9ce579d13a72854597f270148bb0625e89940 100644 (file)
@@ -81,6 +81,18 @@ public class main {
                                return 1;
                }
 
+               /* A test for rebuilding generic virtual thunks */
+               for (i = 0; i < 1000; ++i) {
+                       object o = ga.newArr<string> ();
+                       if (!(o is string[]))
+                               return 2;
+               }
+               for (i = 0; i < 1000; ++i) {
+                       object o = ga.newArr<object> ();
+                       if (!(o is object[]))
+                               return 2;
+               }
+
                return 0;
        }
 }