From 4059e82d299fc8059e726e48b24b2c455b751a4a Mon Sep 17 00:00:00 2001 From: Ranjit Mathew Date: Mon, 10 Jan 2005 18:07:22 +0000 Subject: 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/testsuite/libjava.compile/PR19277.java | 7 +++++++ libjava/testsuite/libjava.compile/PR19277.xfail | 1 + 2 files changed, 8 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR19277.java create mode 100644 libjava/testsuite/libjava.compile/PR19277.xfail (limited to 'libjava/testsuite/libjava.compile') diff --git a/libjava/testsuite/libjava.compile/PR19277.java b/libjava/testsuite/libjava.compile/PR19277.java new file mode 100644 index 0000000..61ed0bf --- /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 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR19277.xfail @@ -0,0 +1 @@ +shouldfail -- cgit v1.1