// error-pattern:mismatched types: expected `()` but found `bool`
class r {
new() {}
drop { true }
}
fn main() {