summaryrefslogtreecommitdiffstats
path: root/tests/errors/PlusEqualsCantAssignToObject.java
blob: c974cba878d183ced12ecc8ad09c24c49954bad4 (plain)
1
2
3
4
5
6
class PlusEqualsCantAssignToObject {
    public static void main(String[] args) {
	Object o = "hello";
	o += "bye";
    }
}