invalid_this_assignment.invalid.mj 150 Bytes
Newer Older
ufebl's avatar
ufebl committed
1 2 3 4 5 6 7 8 9
class Test {
    public static void main(String[] args) {
        new Test().foo();
    }

    public void foo() {
        this = new Test();
    }
}