Newer
Older
zweic / tests / four / method00-5.zwei
@glproj03 glproj03 on 28 Dec 2005 236 bytes wicked cool test file added: script.sh
class foo {}
class bar extends foo {}
class baz extends bar {}

// Method

class MethodTest {
    bar returnExpressionTypeTest() { return new foo() } // 5/5 failure of clause 7 (expression type not subtype of declared return type)

}

0