Author: zoltan
Date: 2005-04-10 06:06:15 -0400 (Sun, 10 Apr 2005)
New Revision: 42754

Modified:
   trunk/mono/mono/mini/ChangeLog
   trunk/mono/mono/mini/arrays.cs
Log:
2005-04-10  Zoltan Varga  <[EMAIL PROTECTED]>

        * arrays.cs: Add new regression test. Fix warnings.


Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog      2005-04-10 10:03:32 UTC (rev 42753)
+++ trunk/mono/mono/mini/ChangeLog      2005-04-10 10:06:15 UTC (rev 42754)
@@ -1,3 +1,7 @@
+2005-04-10  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * arrays.cs: Add new regression test. Fix warnings.
+
 2005-04-09  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * mini-amd64.c (mono_arch_output_basic_block): Fix stack alignment

Modified: trunk/mono/mono/mini/arrays.cs
===================================================================
--- trunk/mono/mono/mini/arrays.cs      2005-04-10 10:03:32 UTC (rev 42753)
+++ trunk/mono/mono/mini/arrays.cs      2005-04-10 10:06:15 UTC (rev 42754)
@@ -29,23 +29,23 @@
                return TestDriver.RunTests (typeof (Tests));
        }
        
-       static int test_10_create () {
+       public static int test_10_create () {
                int[] a = new int [10];
                return a.Length;
        }
 
-       static int test_0_unset_value () {
+       public static int test_0_unset_value () {
                int[] a = new int [10];
                return a [5];
        }
 
-       static int test_3_set_value () {
+       public static int test_3_set_value () {
                int[] a = new int [10];
                a [5] = 3;
                return a [5];
        }
 
-       static int test_0_char_array_1 () {
+       public static int test_0_char_array_1 () {
                int value = -30;
                char[] tmp = new char [20];
                char[] digitLowerTable = new char[16];
@@ -53,7 +53,7 @@
                return 0;
        }
        
-       static int test_0_char_array_2 () {
+       public static int test_0_char_array_2 () {
                int value = 5;
                char[] tmp = new char [20];
                char[] digitLowerTable = new char[16];
@@ -61,7 +61,7 @@
                return 0;
        }
 
-       static int test_0_char_array_3 () {
+       public static int test_0_char_array_3 () {
                int value = -1;
                char[] tmp = new char [20];
                char[] digitLowerTable = new char[16];
@@ -69,7 +69,7 @@
                return 0;
        }
 
-       unsafe static int test_0_byte_array () {
+       public unsafe static int test_0_byte_array () {
                byte [] src = new byte [8];
                double ret;
                byte *dst = (byte *)&ret;
@@ -206,5 +206,15 @@
                }
                return 0;
        }
+
+       class Foo {
+               public static Foo[][] foo;
+       }
+
+       public static int test_0_regress_74549 () {
+               new Foo ();
+               return 0;
+       }
 }
 
+

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to