class RevertTest {
    private int field1;

    RevertTest(int value) {
        self.field1 = value;
    }

    int method() with int block(int n) {
        return block(111).get2();
    }

    int method2() with int block() {
        return block().get2();
    }

    int method3() {
        RevertTest a = new RevertTest(123);

        return a.method2() int {
            return 999;
        }
    }
}
