re PR java/19277 (allows array.length++ although it is final)
authorRanjit Mathew <rmathew@hotmail.com>
Mon, 10 Jan 2005 18:07:22 +0000 (18:07 +0000)
committerRanjit Mathew <rmathew@gcc.gnu.org>
Mon, 10 Jan 2005 18:07:22 +0000 (18:07 +0000)
        * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
        * testsuite/libjava.compile/PR19277.xfail: Likewise.

From-SVN: r93146

libjava/ChangeLog
libjava/testsuite/libjava.compile/PR19277.java [new file with mode: 0644]
libjava/testsuite/libjava.compile/PR19277.xfail [new file with mode: 0644]

index cf605f62aa3d755c4ee6e0ac8e400c46a66cc9a3..ce668a45f61ad54a649c8568a2aa4f7b0ade1caa 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
+       * testsuite/libjava.compile/PR19277.xfail: Likewise.
+
 2005-01-09  Michael Koch  <konqueror@gmx.de>
 
        PR libgcj/17069
diff --git a/libjava/testsuite/libjava.compile/PR19277.java b/libjava/testsuite/libjava.compile/PR19277.java
new file mode 100644 (file)
index 0000000..61ed0bf
--- /dev/null
@@ -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 (file)
index 0000000..e3b083b
--- /dev/null
@@ -0,0 +1 @@
+shouldfail