This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: test case for PR 6388
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 23 Oct 2002 16:49:43 -0600
- Subject: Patch: FYI: test case for PR 6388
- Reply-to: tromey at redhat dot com
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