aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authorRanjit Mathew <rmathew@hotmail.com>2005-01-10 18:07:22 +0000
committerRanjit Mathew <rmathew@gcc.gnu.org>2005-01-10 18:07:22 +0000
commit4059e82d299fc8059e726e48b24b2c455b751a4a (patch)
tree765997c4d3a75aad30cd2f8efbc1ceab81aa9921 /libjava/testsuite/libjava.compile
parent5bf8aebc12015bb509e144a6962b29979e9acd2a (diff)
downloadgcc-4059e82d299fc8059e726e48b24b2c455b751a4a.zip
gcc-4059e82d299fc8059e726e48b24b2c455b751a4a.tar.gz
gcc-4059e82d299fc8059e726e48b24b2c455b751a4a.tar.bz2
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
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/PR19277.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR19277.xfail1
2 files changed, 8 insertions, 0 deletions
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