Newer
Older
zweic / tests / 4 / statement-printInt.zwei
@ajaggi ajaggi on 26 Dec 2005 181 bytes Added some test cases
// PrintInt

class foo {}

class PrintIntTest {
    Null foo() {
        printInt(new foo()); // 1/1 failure of clause 1 (type must be Int)
        printInt(2); //success
    }
}

1