2005-04-10 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Sun, 10 Apr 2005 10:06:15 +0000 (10:06 -0000)
committerZoltan Varga <vargaz@gmail.com>
Sun, 10 Apr 2005 10:06:15 +0000 (10:06 -0000)
* arrays.cs: Add new regression test. Fix warnings.

svn path=/trunk/mono/; revision=42754

mono/mini/ChangeLog
mono/mini/arrays.cs

index 100da661b3db6e8ea271b66eda0bf5f8dd4aa465..368f4d370e6917752b9d9b0f7c822610f4f9e2b8 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-10  Zoltan Varga  <vargaz@freemail.hu>
+
+       * arrays.cs: Add new regression test. Fix warnings.
+
 2005-04-09  Zoltan Varga  <vargaz@freemail.hu>
 
        * mini-amd64.c (mono_arch_output_basic_block): Fix stack alignment
index f467533bb1aa90460e166960e525bb194f9a1e7e..a5259a16409c870ef142a316f0d4f4521665eb24 100644 (file)
@@ -29,23 +29,23 @@ class Tests {
                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 @@ class Tests {
                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 @@ class Tests {
                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 @@ class Tests {
                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 @@ class Tests {
                }
                return 0;
        }
+
+       class Foo {
+               public static Foo[][] foo;
+       }
+
+       public static int test_0_regress_74549 () {
+               new Foo ();
+               return 0;
+       }
 }
 
+