2011-12-29 12:03:39 -08:00
|
|
|
// error-pattern:mismatched types: expected `()` but found `bool`
|
2011-11-07 12:19:50 -08:00
|
|
|
|
2012-08-15 18:46:55 -07:00
|
|
|
struct r {
|
2012-06-01 17:47:53 -07:00
|
|
|
new() {}
|
|
|
|
drop { true }
|
2011-11-07 12:19:50 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|