Merge pull request #2454 from tastywheattasteslikechicken/FixVtableAbort
[mono.git] / mono / mini / aot-tests.cs
index e3ac943c00e35a46a94a0e9ce886f5bc079a7718..bd823f2b9062cce310ff2791ed9c39a5876c1d44 100644 (file)
@@ -467,4 +467,12 @@ class Tests
                var m2 = typeof (GetCurrentMethodClass<>).GetMethod ("get_current");
                return m == m2 ? 0 : 1;
        }
+
+       public static int test_0_array_wrappers_runtime_invoke () {
+               string[][] arr = new string [10][];
+               IEnumerable<string[]> iface = arr;
+               var m = typeof(IEnumerable<string[]>).GetMethod ("GetEnumerator");
+               m.Invoke (arr, null);
+               return 0;
+       }
 }