From 4059e82d299fc8059e726e48b24b2c455b751a4a Mon Sep 17 00:00:00 2001 From: Ranjit Mathew Date: Mon, 10 Jan 2005 18:07:22 +0000 Subject: [PATCH] re PR java/19277 (allows array.length++ although it is final) * testsuite/libjava.compile/PR19277.java: New file for PR java/19277. * testsuite/libjava.compile/PR19277.xfail: Likewise. From-SVN: r93146 --- libjava/ChangeLog | 5 +++++ libjava/testsuite/libjava.compile/PR19277.java | 7 +++++++ libjava/testsuite/libjava.compile/PR19277.xfail | 1 + 3 files changed, 13 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR19277.java create mode 100644 libjava/testsuite/libjava.compile/PR19277.xfail diff --git a/libjava/ChangeLog b/libjava/ChangeLog index cf605f62aa3..ce668a45f61 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2005-01-10 Ranjit Mathew + + * testsuite/libjava.compile/PR19277.java: New file for PR java/19277. + * testsuite/libjava.compile/PR19277.xfail: Likewise. + 2005-01-09 Michael Koch PR libgcj/17069 diff --git a/libjava/testsuite/libjava.compile/PR19277.java b/libjava/testsuite/libjava.compile/PR19277.java new file mode 100644 index 00000000000..61ed0bf7acc --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR19277.java @@ -0,0 +1,7 @@ +class PR19277 +{ + void snafu (int[] array) + { + array.length++; + } +} diff --git a/libjava/testsuite/libjava.compile/PR19277.xfail b/libjava/testsuite/libjava.compile/PR19277.xfail new file mode 100644 index 00000000000..e3b083b1fa5 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR19277.xfail @@ -0,0 +1 @@ +shouldfail