// JAVAC_EXPECTED_FILE // WITH_EXTENDED_CHECKERS class TestIface(r : Runnable) : Runnable by r {} class TestObject(o : Object) : Object by o {}