PR java/13733
* libjava.compile/PR13733.java: New file.
* libjava.compile/PR13733.xfail: New file.
From-SVN: r76389
--- /dev/null
+2004-01-22 Jeff Sturm <jsturm@one-point.com>
+
+ PR java/13733
+ * libjava.compile/PR13733.java: New file.
+ * libjava.compile/PR13733.xfail: New file.
--- /dev/null
+// 15.26: "The type of an assignment expression is the type of the variable"
+// (LHS).
+class PR13733 {
+ String a, c = "";
+ Object b;
+
+ void bug() {
+ a = (b = c); // invalid without cast
+ }
+}
--- /dev/null
+shouldfail