diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index a4d86646850..1e5ce888962 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-11-21 Tom Tromey + + For PR java/8676: + * libjava.lang/pr8676.java: New file. + * libjava.lang/pr8676.out: New file. + 2002-11-21 Ulrich Weigand * libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in diff --git a/libjava/testsuite/libjava.lang/pr8676.java b/libjava/testsuite/libjava.lang/pr8676.java new file mode 100644 index 00000000000..e28b15b1ab5 --- /dev/null +++ b/libjava/testsuite/libjava.lang/pr8676.java @@ -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) + { + } +} diff --git a/libjava/testsuite/libjava.lang/pr8676.out b/libjava/testsuite/libjava.lang/pr8676.out new file mode 100644 index 00000000000..e69de29bb2d