This is the mail archive of the java-patches@sourceware.cygnus.com 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]

Patch: PR 55 test case


I'm checking in the appended patch.  This adds the program from PR 55
to the test suite.

1999-09-29  Tom Tromey  <tromey@cygnus.com>

	* libjava.lang/PR55.out: New file.
	* libjava.lang/PR55.java: New file.

Tom

Index: libjava.lang/PR55.java
===================================================================
RCS file: PR55.java
diff -N PR55.java
--- /dev/null	Sat Dec  5 20:30:03 1998
+++ PR55.java	Wed Sep 29 16:08:30 1999
@@ -0,0 +1,9 @@
+public class PR55 {
+
+    // This demonstrates a bug in gcj
+
+    public static void main(String[] argv){
+        int i = 666;
+        System.out.println("The number "+i+" is "+ (""+i).length() +" digits wide");
+    }
+}
Index: libjava.lang/PR55.out
===================================================================
RCS file: PR55.out
diff -N PR55.out
--- /dev/null	Sat Dec  5 20:30:03 1998
+++ PR55.out	Wed Sep 29 16:08:30 1999
@@ -0,0 +1 @@
+The number 666 is 3 digits wide

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