Patch: new tests

Tom Tromey tromey@cygnus.com
Mon Mar 27 11:38:00 GMT 2000


I'm checking in this new test.

2000-03-27  Tom Tromey  <tromey@cygnus.com>

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

Tom

class test_long {

  public static void main (String[] arg)
  {
    long a, b, c, d, e;
    e = 234L;
    d = 0x8888888888888888L;
    a = 0x0123456789ABCDEFL;
    b = 0xFEDCBA9876543210L;
    c = 0xF096A5B4C3B2E187L;
    System.out.println (a+" "+b+" "+c+" "+d+" "+e);
  }
}

81985529216486895 -81985529216486896 -1110518062304271993 -8608480567731124088 234


More information about the Java-patches mailing list