[runtime] Add another test for passing many small arguments.
authorZoltan Varga <vargaz@gmail.com>
Wed, 4 Jun 2014 18:32:59 +0000 (20:32 +0200)
committerZoltan Varga <vargaz@gmail.com>
Wed, 4 Jun 2014 18:33:14 +0000 (20:33 +0200)
mono/mini/basic-calls.cs

index 41cb62405cb82a0137e5573c04d5d677786123a4..bc3a617e181a09d58ec189dd14a64492dcf8b157 100644 (file)
@@ -129,12 +129,12 @@ class Tests
                return pass_bytes (0, 1, 2, 3, 4, 5, 6);
        }
 
-       static int pass_sbytes (sbyte a, sbyte b, sbyte c, sbyte d, sbyte e, sbyte f, sbyte g) {
-               return (int)(a + b + c + d + e + f + g);
+       static int pass_sbytes (sbyte a, sbyte b, sbyte c, sbyte d, sbyte e, sbyte f, sbyte g, sbyte h1, sbyte h2, sbyte h3, sbyte h4) {
+               return (int)(a + b + c + d + e + f + g + h1 + h2 + h3 + h4);
        }
 
-       public static int test_21_sparc_sbyte_argument_passing () {
-               return pass_sbytes (0, 1, 2, 3, 4, 5, 6);
+       public static int test_55_sparc_sbyte_argument_passing () {
+               return pass_sbytes (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
        }
 
        static int pass_shorts (short a, short b, short c, short d, short e, short f, short g) {