static_init2.java: New file.
authorAndrew Haley <aph@cygnus.com>
Tue, 11 Jul 2000 17:45:27 +0000 (17:45 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Tue, 11 Jul 2000 17:45:27 +0000 (17:45 +0000)
2000-07-11  Andrew Haley  <aph@cygnus.com>

        * libjava.compile/static_init2.java: New file.

From-SVN: r34962

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.compile/static_init2.java [new file with mode: 0644]

index 9cabc13..90f933f 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-11  Andrew Haley  <aph@cygnus.com>
+
+       * libjava.compile/static_init2.java: New file.
+
 2000-07-07  Tom Tromey  <tromey@cygnus.com>
 
        * libjava.lang/stringconst2.out: New file.
diff --git a/libjava/testsuite/libjava.compile/static_init2.java b/libjava/testsuite/libjava.compile/static_init2.java
new file mode 100644 (file)
index 0000000..8cae968
--- /dev/null
@@ -0,0 +1,9 @@
+class static_init2 {
+  static final float two_to_the_30 = 
+    (float) (1L << 30);
+
+  static float[] floatValues = {
+    (float)1.0,
+    (float)two_to_the_30,
+  };
+}