blob: fb5cc82e9b830db709d1e87a7bded6650495196f (
plain)
| 1
2
3
4
5
6
7
8
9
10
 | // 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
  }
}
 |