diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-27 19:37:16 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-27 19:37:16 +0000 |
commit | 3d83fc70e764488f7a15f105f55b233073f54398 (patch) | |
tree | 1aa866271e295652397a2dc43651691ea5caa5d0 /libjava | |
parent | aeb99a899b9bdc2364bc51bc2b3aa38fc1d05540 (diff) | |
download | ppe42-gcc-3d83fc70e764488f7a15f105f55b233073f54398.tar.gz ppe42-gcc-3d83fc70e764488f7a15f105f55b233073f54398.zip |
* libjava.lang/test_long.out: New file.
* libjava.lang/test_long.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/testsuite/libjava.lang/test_long.java | 13 | ||||
-rw-r--r-- | libjava/testsuite/libjava.lang/test_long.out | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 9019f1f6e6a..f29a3e6883c 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-03-27 Tom Tromey <tromey@cygnus.com> + + * libjava.lang/test_long.out: New file. + * libjava.lang/test_long.java: New file. + 2000-03-26 Tom Tromey <tromey@cygnus.com> * libjava.lang/Array_1.xfail: Removed. diff --git a/libjava/testsuite/libjava.lang/test_long.java b/libjava/testsuite/libjava.lang/test_long.java new file mode 100644 index 00000000000..3e876ac34e3 --- /dev/null +++ b/libjava/testsuite/libjava.lang/test_long.java @@ -0,0 +1,13 @@ +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); + } +} diff --git a/libjava/testsuite/libjava.lang/test_long.out b/libjava/testsuite/libjava.lang/test_long.out new file mode 100644 index 00000000000..1f10f0cf806 --- /dev/null +++ b/libjava/testsuite/libjava.lang/test_long.out @@ -0,0 +1 @@ +81985529216486895 -81985529216486896 -1110518062304271993 -8608480567731124088 234 |