[Mono-bugs] [Bug 58475][Nor] Changed - Incorrect long comparison
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 13 May 2004 23:35:59 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=58475
--- shadow/58475 2004-05-13 23:30:55.000000000 -0400
+++ shadow/58475.tmp.517 2004-05-13 23:35:59.000000000 -0400
@@ -85,6 +85,21 @@
------- Additional Comments From bmaurer@users.sf.net 2004-05-13 23:28 -------
Miguel, on CVS I have the same results as the reporter.
------- Additional Comments From bmaurer@users.sf.net 2004-05-13 23:30 -------
If i run the mcs binary on MS.net, it runs ok. If i compile with csc
and run on mono it fails ==> runtime.
+
+------- Additional Comments From bmaurer@users.sf.net 2004-05-13 23:35 -------
+using System;
+
+class T {
+ static int Main ()
+ {
+ long l = 1, ll = 2;
+
+ if (l < 0 != ll < 0)
+ return 1;
+
+ return 0;
+ }
+}