Patch: FYI: PR 8676 test

Tom Tromey tromey@redhat.com
Fri Nov 22 08:53:00 GMT 2002


I'm checking this in.

This is a test case for PR 8676.

Tom

Index: libjava/testsuite/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	For PR java/8676:
	* libjava.lang/pr8676.java: New file.
	* libjava.lang/pr8676.out: New file.

Index: libjava/testsuite/libjava.lang/pr8676.java
===================================================================
RCS file: libjava/testsuite/libjava.lang/pr8676.java
diff -N libjava/testsuite/libjava.lang/pr8676.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libjava/testsuite/libjava.lang/pr8676.java 22 Nov 2002 16:53:00 -0000
@@ -0,0 +1,11 @@
+public class pr8676 {
+  // The problem here was that this function couldn't be compiled to
+  // bytecode.
+  private void f(long j) {
+    boolean x = (1 << j) != 0;
+  }
+
+  public static void main(String[] args)
+  {
+  }
+}
Index: libjava/testsuite/libjava.lang/pr8676.out
===================================================================
RCS file: libjava/testsuite/libjava.lang/pr8676.out
diff -N libjava/testsuite/libjava.lang/pr8676.out



More information about the Java-patches mailing list