2004-02-23 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Mon, 23 Feb 2004 16:10:34 +0000 (16:10 -0000)
committerZoltan Varga <vargaz@gmail.com>
Mon, 23 Feb 2004 16:10:34 +0000 (16:10 -0000)
* many-locals.cs: Add tests for locals with large stack frame offsets.

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

mono/tests/ChangeLog
mono/tests/many-locals.cs

index aa6ec2368adcc3443145c8e0387ddf95a46595d0..4c3ca46b7a9985bdef9641a21d88d665eaea7b7d 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-23  Zoltan Varga  <vargaz@freemail.hu>
+
+       * many-locals.cs: Add tests for locals with large stack frame offsets.
+
 2004-02-18  Zoltan Varga  <vargaz@freemail.hu>
 
        * switch.cs: Add test for bug #54473.
index 82470f770e19fb8058d78d0fccd2aa23985420ad..01135a9c90c31aec27bb710e592e877f881267ec 100644 (file)
@@ -218,6 +218,8 @@ namespace Simple {
                        T loc197 = new T (0xdeadbeef, 0xcafebabe);
                        T loc198 = new T (0xdeadbeef, 0xcafebabe);
                        T loc199 = new T (0xdeadbeef, 0xcafebabe);
+                       int loc_i = 11;
+                       long loc_j = 12;
 
                        if (loc0.A != 0xdeadbeef || loc0.B != 0xcafebabe) throw new System.Exception ();
                        if (loc1.A != 0xdeadbeef || loc1.B != 0xcafebabe) throw new System.Exception();
@@ -419,7 +421,8 @@ namespace Simple {
                        if (loc197.A != 0xdeadbeef || loc197.B != 0xcafebabe) throw new System.Exception();
                        if (loc198.A != 0xdeadbeef || loc198.B != 0xcafebabe) throw new System.Exception();
                        if (loc199.A != 0xdeadbeef || loc199.B != 0xcafebabe) throw new System.Exception();
-
+                       if (loc_i != 11) throw new System.Exception ();
+                       if (loc_j != 12) throw new System.Exception ();
 
                        return 0;
                }