This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: test case for PR 6388


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]