Newer
Older
zweic / tests / 4 / 04.zwei
@ajaggi ajaggi on 26 Dec 2005 196 bytes Added some test cases
class A {
    Int x;
}

class B {
    Int x;
    Int equal(B that) {
        return this.x == that.x
    }
}

class C extends B{
}

{
    printInt(new B(1).equal(new C(2)));
    printChar(10);
}