diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-03-27 19:37:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-03-27 19:37:16 +0000 |
commit | 5f11c812702cfb08dca2003f4cd43a2219a08fc3 (patch) | |
tree | 1aa866271e295652397a2dc43651691ea5caa5d0 | |
parent | 94bb5d0c1eefcd39cf9f4146eb716c65d2eb0b86 (diff) | |
download | gcc-5f11c812702cfb08dca2003f4cd43a2219a08fc3.zip gcc-5f11c812702cfb08dca2003f4cd43a2219a08fc3.tar.gz gcc-5f11c812702cfb08dca2003f4cd43a2219a08fc3.tar.bz2 |
test_long.out: New file.
* libjava.lang/test_long.out: New file.
* libjava.lang/test_long.java: New file.
From-SVN: r32769
-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 9019f1f..f29a3e6 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 0000000..3e876ac --- /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 0000000..1f10f0c --- /dev/null +++ b/libjava/testsuite/libjava.lang/test_long.out @@ -0,0 +1 @@ +81985529216486895 -81985529216486896 -1110518062304271993 -8608480567731124088 234 |