* iltests.il (test_0_div_regalloc): New regression test.
svn path=/trunk/mono/; revision=20063
2003-11-16 Zoltan Varga <vargaz@freemail.hu>
+ * iltests.il (test_0_div_regalloc): New regression test.
+
* arrays.cs: Fix compilation error.
Fri Nov 14 21:34:06 CET 2003 Paolo Molaro <lupus@ximian.com>
ret\r
}\r
\r
+ // make sure the register allocator works when the return value of\r
+ // 'div' is discarded\r
+ .method static public int32 test_0_div_regalloc () il managed {\r
+ .locals init (\r
+ int32 i\r
+ )\r
+\r
+ ldloc 0\r
+ ldc.i4.s 0xa\r
+ div\r
+ pop\r
+ ldc.i4.0\r
+ ret\r
+ }\r
+\r
.method static public int32 test_3_copy_used_bug () il managed {\r
\r
.locals init (\r