Patch: FYI: test case for PR 6388

Tom Tromey tromey@redhat.com
Wed Oct 23 15:56:00 GMT 2002


I'm checking this in.
This is the test case for PR 6388.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	For PR java/6388:
	* libjava.lang/pr6388.java: New file.
	* libjava.lang/pr6388.out: New file.

Index: libjava.lang/pr6388.java
===================================================================
RCS file: libjava.lang/pr6388.java
diff -N libjava.lang/pr6388.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libjava.lang/pr6388.java 23 Oct 2002 22:55:31 -0000
@@ -0,0 +1,10 @@
+public class pr6388
+{
+  public static void main (String[] args)
+  {
+    System.out.println (Integer.MIN_VALUE);
+    System.out.println (0x80000000);
+    System.out.println (Integer.MIN_VALUE == 0x80000000);
+    System.out.println (0x80000000 == 0x80000000);
+  }
+}
Index: libjava.lang/pr6388.out
===================================================================
RCS file: libjava.lang/pr6388.out
diff -N libjava.lang/pr6388.out
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libjava.lang/pr6388.out 23 Oct 2002 22:55:31 -0000
@@ -0,0 +1,4 @@
+-2147483648
+-2147483648
+true
+true



More information about the Java-patches mailing list